4 ms·
OK, maybe I don't quite literally mean side effect-free. In that case I probably wouldn't think it's bad. What I would not expect in a ternary statement is co
by emodendroket 9y ago
OK, maybe I don't quite literally mean side effect-free. In that case I probably wouldn't think it's bad. What I would not expect in a ternary statement is code that, say, makes a network request, or writes to disk, or changes several different properties on the current object.