DEV Community

Discussion on: What do you think about the ternary operator?

Collapse
 
kayis profile image
K

Sadly it's needed in all the languages that don't have if-expressions.

But I have the feeling, newer language designs include if-expressions instead of if-statements more often.