2 ms·
I nowadays resist the urge to make syntactically beautiful code if that means that it is a little bit brittle or vulnerable to mistakes. Wrt. using { }, I omit
by mushishi 12y ago
I nowadays resist the urge to make syntactically beautiful code if that means that it is a little bit brittle or vulnerable to mistakes.
Wrt. using { }, I omit them if I put the block to be executed on the same line, and usually I do that only with special cases, e.g.
if(expr1) continue;
if(expr2) throw new RuntimeException();