Why are there still people who insist on not using curly braces when writing if-statements? Braces should always be used, even if the code block only contains one line of code, because sooner or later someone will add another line without noticing the absence of braces.
This is something I would expect to find in an returned Programming 101 assignment, but not in production level code, but hey life is full of surprises.
Wednesday, March 11, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment