in reply to •Re: Re: Re: OO style: Placement of "new"
in thread OO style: Placement of "new"
Bad things happen in real code all the time, and it's not an argument for the wholesale banishment of certain tools/techniques, but rather a case for better education. In this example, the possible errors are easily obviated by a correct choice of syntax given a very particular set of conditions. If the list parsing is getting munged using indirect invocation, then use direct invocation, or employ parentheses appropriately.
Respectfully, I must say I'm surprised that so many old timers would argue to avoid a feature whose negative consequences are so easily corrected.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
•Re: Re: •Re: Re: Re: OO style: Placement of "new"
by merlyn (Sage) on Apr 08, 2003 at 05:57 UTC | |
by djantzen (Priest) on Apr 08, 2003 at 10:19 UTC | |
by dragonchild (Archbishop) on Apr 08, 2003 at 15:09 UTC | |
by djantzen (Priest) on Apr 08, 2003 at 18:30 UTC | |
by dragonchild (Archbishop) on Apr 08, 2003 at 19:19 UTC |