3 ms·
I've been programming in languages that have them, and almost every time I have to read code that has a ternary operator, I have to stop and think what's the co
by vesak 9y ago
I've been programming in languages that have them, and almost every time I have to read code that has a ternary operator, I have to stop and think what's the condition, what's the "true" branch and what's the "false" branch.
This is even worse in languages that have truthy values, since you don't even have the "== True" thing to help.