Blah - I used to be of the "compactness" mindset as well.  Then I remembered something 
my dad would always bombard me with when I was in math class as a kid.  "Write 
everything out!"  I used to think he was just old, but then I got my report card and 
no longer had any ammo against his request.  I am now of the mindset - take your time, 
make it neat, and line everything up in neat little columns and rows.  You'll save 
yourself from the regret of "I swear I carried the one?".

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jarrod Moore
Sent: Monday, January 19, 2004 11:24 AM
To: [EMAIL PROTECTED]
Subject: [Nant-users] Off-Topic: Coding Conventions & Code Complete by
McConnell


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



-------------------------------------------------------
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