default args (was Re: Any reason for assigning block parameterin inject:into

Philippe Marschall philippe.marschall at gmail.com
Mon Apr 30 07:32:56 UTC 2007


2007/4/30, J J <azreal1977 at hotmail.com>:
> >From: "Philippe Marschall" <philippe.marschall at gmail.com>
> >Reply-To: The general-purpose Squeak developers
> >list<squeak-dev at lists.squeakfoundation.org>
> >To: "The general-purpose Squeak developers
> >list"<squeak-dev at 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=y&search=mortgage_text_links_88_h27f8&disc=y&vers=689&s=4056&p=5117
>
>
>



More information about the Squeak-dev mailing list