4 ms·
You misunderstood. They were talking specifically about languages that only have ternary operators as a way to do if-as-expression, and why they prefer language
by runevault 2y ago
You misunderstood. They were talking specifically about languages that only have ternary operators as a way to do if-as-expression, and why they prefer languages with either real if-else if-else expressions or full switch/pattern matching as expression.