The knee-jerk else-clause

1 · Erica Sadun · Nov. 14, 2019, 5:17 p.m.
Summary
I’ve gotten into several heated discussions recently (I wouldn’t call them arguments or fights as no blows were exchanged and we departed as friends) about whether an if-statement should always include a balancing else clause in languages where it is not mandated by a ternary if form. My feeling is a firm “no”. Let me attempt […]...