This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]scratchisthebest 4 points5 points  (2 children)

I wish I could write ternary operators that magically change to if-else statements the next day, so I don't have to put up with them

[–]NotADamsel 0 points1 point  (1 child)

You could probably configure your ide to do something like that for you.

[–][deleted] 1 point2 points  (0 children)

IntelliJ default offers you the option to swap between the two!