Quantcast
Channel: What are pros/cons of ternary conditional operators? - Programming Language Design and Implementation Stack Exchange
Viewing all articles
Browse latest Browse all 10

Answer by Adám for What are pros/cons of ternary conditional operators?

$
0
0

Con: One more darned thing to remember

The ternary syntax is very different from everything else, and requires somewhat complex additions to the precedence table.


Viewing all articles
Browse latest Browse all 10

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>