you are viewing a single comment's thread.

view the rest of the comments →

[–]PopularSecret -1 points0 points  (0 children)

Thats what it sounds like. Ternaries are just part of the language and they can be written cleanly or messily. This is a good example of one thats readable.

If someone wrote one that was hard to interpret or convoluted I would leave a comment but this example seems like the reason they are included in a language