2 ms·
Probably the same kind of place that bans use of the ternary conditional operator because it's "too complicated" <sigh>
by arethuza 13y ago
Probably the same kind of place that bans use of the ternary conditional operator because it's "too complicated" <sigh>
- jlgreco 13y agoEh, I can't say that I have any love for the ternary if operator. It is an ugly construct made necessary by the other flow control constructs being statements. Scala lets you just use if/else like that, the result is much clearer at the cost of 4 or so characters.