canpolat@programming.dev to Programming@programming.devEnglish · 1 year agoTyping is not a programming bottleneckblog.ploeh.dkexternal-linkmessage-square38fedilinkarrow-up176arrow-down115
arrow-up161arrow-down1external-linkTyping is not a programming bottleneckblog.ploeh.dkcanpolat@programming.dev to Programming@programming.devEnglish · 1 year agomessage-square38fedilink
minus-squareatheken@programming.devlinkfedilinkarrow-up1·edit-21 year agoI agree with the need, but not your rationale, I’m in the “always curly braces” camp for two reasons: when a second line gets added in a condition block, the braces might not get added, a bug. one less decision to make while coding. Anything that removes trivial decision-making can speed up authoring and reading code.
I agree with the need, but not your rationale, I’m in the “always curly braces” camp for two reasons: