Re: Static vs Dynamic
From: Matthew Danish (mrd+nospam_at_cmu.edu)
Date: 10/30/04
- Next message: Don Geddis: "Re: clisp on the rise?"
- Previous message: Daniel Barlow: "Re: clisp on the rise?"
- In reply to: Darren: "Re: Static vs Dynamic"
- Next in thread: Darren: "Re: Static vs Dynamic"
- Reply: Darren: "Re: Static vs Dynamic"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 29 Oct 2004 21:09:11 -0400
pyedarren@hotmail.com (Darren) writes:
> That is where in a statically typed OO language you would have the
> widget and grommet implement an inteface. Calling "instanceof" for a
> specialization check like that is not bad OO and still doesn't mean
> you need casting (though it would be justified if you did).
No, it is bad OO, because it is "outside" of the OO system. This
reminds me of a presentation on Slate that demonstrated what this means:
http://tunes.org/~eihrul/talk.pdf (see also http://slate.tunes.org/).
> I totally agree. That supports the belief that good design transcends
> language. Good design in Lisp, Java or C++, or any OO language should
> all be structurally similar, though the details of their
> implementation might be quite different. That's why design patterns
> work.
Hah, you just opened up another can of worms! =) Design patterns as
realized in software architecture today are bull; they are just
published and accepted ways of working around the limitations of C++
and Java. There is nothing fundamental about most of them that makes
them transcend language. Especially since the paradigms of different
languages really do encourage different solutions to the same problem.
-- ;; Matthew Danish -- user: mrd domain: cmu.edu ;; OpenPGP public key: C24B6010 on keyring.debian.org
- Next message: Don Geddis: "Re: clisp on the rise?"
- Previous message: Daniel Barlow: "Re: clisp on the rise?"
- In reply to: Darren: "Re: Static vs Dynamic"
- Next in thread: Darren: "Re: Static vs Dynamic"
- Reply: Darren: "Re: Static vs Dynamic"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|