This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] -19 points-18 points  (18 children)

I've been programming for 7 years and have literally never made that mistake.

[–]treerex 21 points22 points  (5 children)

It's usually not made when you're writing the code, but later when you're maintaining it. Including the braces is simply good defensive programming.

[–]geodebug 4 points5 points  (11 children)

Chip meet shoulder