3 ms·
Some developers don't want to use the ternary operator because it's "too complex". I believe there's a middle ground to be found where further abstractions add
by carlhjerpe 5y ago
Some developers don't want to use the ternary operator because it's "too complex".
I believe there's a middle ground to be found where further abstractions add complexity rather than reduce it. Where that middle ground is, I don't know.
- wtetzner 5y agoThat’s a strange definition of complexity. I can see people avoiding the ternary operator because the syntax is hard to read, but it’s no more complex than `if`.