Sorry, this is a bit off topic, but I was curious about someting I saw
on the coding conventions
page(http://sourceforge.net/docman/display_doc.php?docid=6080&group_id=3
1650). On that page it shows the curly braces being used on the same
line as the if statement, as well as the else. I must say that I
completely agree with this, and it is my preferred style of coding. I'm
trying to convince some other people to use this method instead of the
other bad examples shown on the page, but I don't have any ammo to win
my argument.

I went and bought the Code Complete book to see what the reasoning was
in there, since it was mentioned on the page. After looking through the
book, I found that there is no mention of curly brace usage and logical
structure. Can someone point me to the correct page in the book, or(if
feeling generous) type out the necessary text?

My only thought as to why this isn't in the book is that the previous
publisher of the book wasn't MS Press. Since MS advocates the horribly
expanded way of writing code, my only assumption was that they had that
part taken out.

Sorry for such a long post for such a simple thing.

Thanks,
Jarrod


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to