> if (blah){ > code... > code... > } > > It seems this is what is being taught now. The first way makes it so > clear what code goes with what set of braces that the second > way really > bugs me! Why is it used?? I'm sure there are folks on the list that > use it that could tell me. > My guess would be to save that one line - but, in that case, > why not put > the ending brace on the same line as the last line of code? From experience I found that I can handle complexity within my code, as long as it fits within one screen. Changing from the 24 line display of the old PCs and VT100's to the 80+ lines permitted by current monitors has realy brought a huge increase. Not wasting lines within a complex piece of code is another. That's why I have always preferred the above notation, even when it was considered pure evil. I tried to switch to the } on the last code line, but this makes that last line special, which is often inconvenient. BTW my favourite language, Python, uses indedation instead of syntactical elements: if condition: code else: code Just like that. Maybe when I re-design Jal... Wouter van Ooijen -- ------------------------------------------- Van Ooijen Technische Informatica: www.voti.nl consultancy, development, PICmicro products -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics