style
Daniel Keep
daniel.keep.lists at gmail.com
Mon May 22 04:30:43 PDT 2006
Lars Ivar Igesund wrote:
> Daniel Keep wrote:
>
>> A question of my own: does anyone define the return type of the
>> 'setter', and then return the value like this:
>>
>> # char[] caption(char[] value)
>> # {
>> # return _caption = value;
>> # }
>>
>> I'm under the impression this is good because it allows you to chain
>> assignment statements; but does anyone actually do this?
>>
>> -- Daniel
>>
>
> I believe Mango do this quite extensively.
>
WELL. That settles it, then :)
-- Daniel
--
v1sw5+8Yhw5ln4+5pr6OFma8u6+7Lw4Tm6+7l6+7D
a2Xs3MSr2e4/6+7t4TNSMb6HTOp5en5g6RAHCP http://hackerkey.com/
More information about the Digitalmars-d
mailing list