2 ms·
That just encourages bad behaviour in the other direction though. A massive multi-level nested ternary on one line is usually going to be worse than a longer bu
by entuno 1y ago
That just encourages bad behaviour in the other direction though. A massive multi-level nested ternary on one line is usually going to be worse than a longer but clearer set of conditions. Trying to make code brief can be good, but it can often result in an unmaintainable and hard to read mess.
- windward 1y agoThat results in the same AST, it's not really taking anything away
- einsteinx2 1y agoExcept for readability