From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id CAA18808; Wed, 8 Sep 2004 02:30:58 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id CAA17065 for ; Wed, 8 Sep 2004 02:30:57 +0200 (MET DST) Received: from smtp-2.syd.swiftdsl.com.au (smtp-2.syd.swiftdsl.com.au [218.214.224.98]) by concorde.inria.fr (8.13.0/8.13.0) with SMTP id i880UsBv010050 for ; Wed, 8 Sep 2004 02:30:56 +0200 Received: (qmail 18857 invoked from network); 8 Sep 2004 00:30:56 -0000 Received: from unknown (HELO coltrane.mega-nerd.net) (218.214.64.136) by smtp-2.syd.swiftdsl.com.au with SMTP; 8 Sep 2004 00:30:56 -0000 Received: from coltrane (localhost [127.0.0.1]) by coltrane.mega-nerd.net (Postfix) with SMTP id C63FF7B8E for ; Wed, 8 Sep 2004 10:30:50 +1000 (EST) Date: Wed, 8 Sep 2004 10:30:50 +1000 From: Erik de Castro Lopo To: caml-list@inria.fr Subject: Re: [Caml-list] Circular module dependencies Message-Id: <20040908103050.5dc42393.ocaml-erikd@mega-nerd.com> In-Reply-To: References: <200409070917.18022.edgin@slingshot.co.nz> <20040907161253.2799ada5.ocaml-erikd@mega-nerd.com> Organization: Erik Conspiracy Secret Labs X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; i386-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 413E52BE.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 dependencies:01 2004:99 brogoff:01 brogoff:01 refactoring:01 urged:99 stallman:01 speakeasy:01 sep:01 nospam:97 module:03 circular:03 wrote:03 gnome:04 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Tue, 7 Sep 2004 05:36:18 -0700 (PDT) brogoff wrote: > In general, I agree that this can be a design error, but refactorings that > are reasonable for toy code posted during an internet email discussion may not > make sense when we're talking about files that are tens of thousands of lines > long even in very high level languages. Scale changes everything. Well my particular problem was definitely not "toy code posted during an internet email discussion" but a serious piece of that has already grown to about 3000 lines. Yes its still small but in this case refactoring was definitely the best solution. Erik -- +-----------------------------------------------------------+ Erik de Castro Lopo nospam@mega-nerd.com (Yes it's valid) +-----------------------------------------------------------+ "Ever since GNOME development began, I have urged people to aim to make it as good as the Macintosh. To try to be like Windows is to try for second-best." - Richard Stallman ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners