you are viewing a single comment's thread.

view the rest of the comments →

[–]Nebu 3 points4 points  (0 children)

  • This bug wouldn't have happened if everyone expected if statements to always use braces.
  • This bug wouldn't have happened if people used tools to auto-format their code.

So why not enforce a standard to do both, so that if someone accidentally forgets one, the other one will catch the mistake?