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

Reply via email to