Re: Revisiting the with() method
Steve Dekorte <[email protected]> Wed, 9 Nov 2011 21:25:59 -0800
| Newsgroups | gmane.comp.lang.io |
|---|---|
| Message-ID | <[email protected]> |
Hey Dennis, Yes, and ideally you should never have a constructor with more than one argument. Also, I recommend avoiding constructors altogether unless it is heavily used enough to meaningfully save code. On 2011-11-09 Wed, at 08: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