Back in the mid to late 1990's when I was in college, the profs taught me that in programming, neat code included each bracket on its own line. This way you can draw boxes around printed sets of code and see if you are missing a bracket easier. To each his own, of course.