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 BAA04623; Wed, 11 Jun 2003 01:33:06 +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 BAA04596 for ; Wed, 11 Jun 2003 01:33:05 +0200 (MET DST) Received: from swordfish ([216.241.35.41]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h5ANX4H17246 for ; Wed, 11 Jun 2003 01:33:04 +0200 (MET DST) Received: from matt by swordfish with local (Exim 3.35 #1 (Debian)) id 19Psbv-0001vN-00 for ; Tue, 10 Jun 2003 17:33:03 -0600 Date: Tue, 10 Jun 2003 17:33:03 -0600 From: Matt Gushee To: caml-list@pauillac.inria.fr Subject: Re: [Caml-list] dynamic dispatching Message-ID: <20030610233303.GJ1464@swordfish> Reply-To: Matt Gushee Mail-Followup-To: caml-list@pauillac.inria.fr References: <3EE5AE46.4050307@alcatel.de> <299DDADD-9B2F-11D7-8F2D-000393863F70@exomi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <299DDADD-9B2F-11D7-8F2D-000393863F70@exomi.com> User-Agent: Mutt/1.3.27i X-Spam: no; 0.00; gushee:01 mgushee:01 havenrock:01 caml-list:01 dispatching:01 englewood:01 manure:01 ignores:01 --lao:01 merel:01 0300,:02 classes:03 wrote:03 btw:03 dynamic:03 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Tue, Jun 10, 2003 at 01:34:49PM +0300, Ville-Pertti Keinonen wrote: > > BTW: Whenever you end up using the visitor design pattern, that may > mean that you'd be better off separating the data from the functions > manipulating it, not using classes at all. OOP is highly overrated. Yes. I'd say as a general principle, for both natural languages and programming languages, that literal translations are mostly poor translations. To do it well you have to be able to think in both languages. -- Matt Gushee When a nation follows the Way, Englewood, Colorado, USA Horses bear manure through mgushee@havenrock.com its fields; http://www.havenrock.com/ When a nation ignores the Way, Horses bear soldiers through its streets. --Lao Tzu (Peter Merel, trans.) ------------------- 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