Re: dynamic type checking - a pauline conversion?
From: Thomas Gagné (tgagne_at_wide-open-west.com)
Date: 03/13/04
- Next message: lilburne: "Re: dynamic type checking - a pauline conversion?"
- Previous message: Thomas Gagné: "Re: dynamic type checking - a pauline conversion?"
- In reply to: Robert C. Martin: "Re: dynamic type checking - a pauline conversion?"
- Next in thread: Isaac Gouy: "Re: dynamic type checking - a pauline conversion?"
- Reply: Isaac Gouy: "Re: dynamic type checking - a pauline conversion?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 13 Mar 2004 16:03:40 -0500
Robert C. Martin wrote:
>On 12 Mar 2004 23:26:09 -0800, igouy@yahoo.com (Isaac Gouy) wrote:
>
>
>
>>Robert C. Martin <unclebob@objectmentor.com> wrote in message news:<884450hlpgmtdpg7ees68eoeb2iuron47g@4ax.com>...
>>
>>
>>
>>>Even if you *can* find ways to express solutions in a statically typed
>>>language, the solutions in a dynamically typed language will often be
>>>*much* simpler. (e.g. just send the close message).
>>>
>>>
>>Is there a default implementation for this 'close' message (for
>>example in a common superclass like Object) or do we expect the method
>>send to fail at runtime when the specific class doesn't implement
>>'close'?
>>
>>
>
>The latter.
>
>
Of course, if there are really good reasons an object that doesn't
understand close() might end-up in the collection close() could either
be added to it or to Object.
-- .tom remove email address' dashes for replies opensource middleware at <http://isectd.sourceforge.net> http://gagne.homedns.org
- Next message: lilburne: "Re: dynamic type checking - a pauline conversion?"
- Previous message: Thomas Gagné: "Re: dynamic type checking - a pauline conversion?"
- In reply to: Robert C. Martin: "Re: dynamic type checking - a pauline conversion?"
- Next in thread: Isaac Gouy: "Re: dynamic type checking - a pauline conversion?"
- Reply: Isaac Gouy: "Re: dynamic type checking - a pauline conversion?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|