DMD 0.177 release
Bill Baxter
dnewsgroup at billbaxter.com
Thu Dec 14 15:47:31 PST 2006
Walter Bright wrote:
> Stewart Gordon wrote:
>> C'mon, what's your use case for being allowed to return something
>> other than the new value of a from the expression (a = b)?
>
> I don't have one. But I prefer to impose as few restrictions as
> possible, as people keep finding unanticipated cool new things to do. So
> I'd argue that there should be compelling case put forward to impose
> such a restriction, rather than wondering what one can do with the
> flexibility.
For one, it might be useful to return some sort of proxy for 'a'.
--bb
More information about the Digitalmars-d-announce
mailing list