Should we deprecate comma?
bearophile
bearophileHUGS at lycos.com
Sun Mar 23 18:36:45 PDT 2014
Andrei Alexandrescu:
> And by the way the irony here is that you seem to ignore my
> argument.
Yes, sorry, politics is not for me. Better to go back discussing
technical matters.
>Some examples of what you're trying to achieve would be great,<
Tuples are simple entities, so in past threads I have given
examples of all my usages cases. If you want I can copy them
again here (usage examples don't ask for a specific syntax, they
are just about the desired semantics).
>with the understanding that you're looking at at least five
>years until we'd be able to change anything about the use of
>comma.<
C code should not silently behave differently in D, even five
years from now, so I am not interested in using the C comma
syntax for D tuples. I am OK with a D tuple syntax that is not
allowed in C.
I want to remove comma operators from D to avoid bugs and to make
D code more readable. For me those are very important things,
more important than the little code breaking it causes.
Bye,
bearophile
More information about the Digitalmars-d
mailing list