Re: Revisiting the with() method
gatesphere <[email protected]> Wed, 09 Nov 2011 23:43:03 -0500
| Newsgroups | gmane.comp.lang.io |
|---|---|
| Message-ID | <[email protected]> |
In a recent discussion with jer, I received the same answer. Basically, use with(...) as a constructor, making sure that your setters and with() method return self. -->Jake On 11/9/2011 11:11 PM, dennisf486 wrote: > > I found a thread from 2006 where Steve Dekorte recommended "with" for > an object initialization question. I have a similar situation as the > OP. Is "with" still the recommended best practice for an object > construction method name? > > http://groups.yahoo.com/group/iolanguage/message/8529 > >