Hacker News new | ask | show | jobs
by jay_kyburz 1117 days ago
I like them when the actually fit one one line. If I have to scroll horizontally I will roll my eyes. And I really hate nested ternaries.

One of my pet hates is when the c# style is for opening braces on a new line, making if/then/else statements much longer than they need to be, so people try to cram as much into a single ternary as possible.

1 comments

yeah, they need to be tidy. You can shoot an unsuspecting programmer through the soul with some evil ternary abuse.