2007/4/30, J J azreal1977@hotmail.com:
From: "Philippe Marschall" philippe.marschall@gmail.com Reply-To: The general-purpose Squeak developers listsqueak-dev@lists.squeakfoundation.org To: "The general-purpose Squeak developers list"squeak-dev@lists.squeakfoundation.org Subject: Re: default args (was Re: Any reason for assigning block parameterin inject:into:) Date: Sun, 29 Apr 2007 15:14:24 +0000
Nicolas is right, this gets real messy, real fast. See Seaside: Canvas <-> HtmlBuilder
Cheers Philippe
Well it is certainly true that the default argument pattern doesn't fit everything. Doesn't canvas use a pattern of having an object with default ivars that one can modify with mutator functions (i.e. a totally different pattern then what was mentioned before)?
Yeah, more or less. It does the traditional Smalltalk thingie: makes an object of if.
Cheers Philippe
Mortgage rates near historic lows. Refinance $200,000 loan for as low as $771/month* https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=...