On Monday, 24 March 2014 at 05:18:04 UTC, bearophile wrote:
deadalnix:
Andrei Alexandrescu:
The change has an eye to that. Disallowing the use of the
return value offers us the future possibility of redefining
it. -- Andrei
That is brilliant ! I'm buying.
Please show few examples. I am not sure using the comma for
tuples in just return situations is a good idea. It seems too
much special casing. Also because returning tuples is already
currently acceptable. The main problem is breaking tuples apart.
I actually made a more complete explanation of what I have in
mind. I should probably write a DIP one day.
You can read a rough explanation of my proposal here:
http://forum.dlang.org/thread/[email protected]?page=2#post-mudvqeqzbosfdirtfkhr:40forum.dlang.org