DEV Community

Discussion on: We don't need a ternary operator

Collapse
 
pzelnip profile image
Adam Parkin

That's interesting, I tend to think about conditionals the same way it is in Python, ie "do this thing if something is true otherwise do this other thing", rather than "if something is true do this thing otherwise do this other thing".

It's interesting how different people think differently. :)