You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found many variation of styles of ternary format hard to read and understand.
Why don't we make them even more like an if-else block with brackets?
Brackets makes it much easier to read and understand (code editors highlights it).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I found many variation of styles of ternary format hard to read and understand.
Why don't we make them even more like an if-else block with brackets?
Brackets makes it much easier to read and understand (code editors highlights it).
if..else-if..else
ternary)Beta Was this translation helpful? Give feedback.
All reactions