Should we deprecate comma?

bearophile bearophileHUGS at lycos.com
Tue Mar 25 07:06:14 PDT 2014


Byron:

> nested ternaries are to hard to read and even worse for
> maintainability.  Been bit to many times with little bugs
> in them.  Wish compilers would throw a warning when they
> are used.

Perhaps related:
https://d.puremagic.com/issues/show_bug.cgi?id=8757

On the other hand chained ternary operators are not too much 
uncommon.

Bye,
bearophile


More information about the Digitalmars-d mailing list