----- Original Message -----
From: "Ron Jeffries"
<[EMAIL PROTECTED]>
To: "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]>
Sent: Sunday, December 26, 2004 6:34 PM
Subject: Re: [XP] New Article - BowlingForSmalltalkV
>
> On Sunday, December 26, 2004, at 8:02:47 AM, Doug Swartz wrote:
>
>> But if the strike or spare
>>> aren't identified before the frame is created, it's too late to
>>> choose the right subclass.
>
>> Well.... Since you're using Smalltalk this time, that is not
>> quite a true statement. It's completely possible to start with
>> an open frame, then have it become a spare, or strike frame,
>> when it discovers it needs to. I don't think I would have ever
>> come up with this design approach without your statement
>> above, and it's a design pattern I discourage, but it might be
>> really slick in this case. It also shows a capability built
>> into Smalltalk that just isn't readily available in other
>> languages.
>
> You're talking about become:? I was taught that to use that you had
> to get written permission from Alan Kay. :)
Fortunately, Python is more liberal. The Benevolent Dictator
For Life doesn't want to know about it. It's a neat ability,
but it's really a maintenance hazard unless the entire team knows
what you're doing. I used it for one of my versions, and then
decided that close to a dozen classes was on the far side of
baroque.
John Roth
>
> Ron Jeffries
> www.XProgramming.com
> What is your dream? And knowing this, what have you
> done to work towards realizing it today? -- Les Brown
>
>
>
>
> To Post a message, send it to: [EMAIL PROTECTED]
>
> To Unsubscribe, send a blank message to:
> [EMAIL PROTECTED]
>
> ad-free courtesy of objectmentor.com
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
To Post a message, send it to: [EMAIL PROTECTED]
To Unsubscribe, send a blank message to: [EMAIL PROTECTED]
ad-free courtesy of objectmentor.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/extremeprogramming/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/