|
-
Apr 23rd, 2013, 05:51 AM
#11
Re: Note to community
 Originally Posted by techgnome
BUT... comments are still needed sometimes... if not to explain the logic, but to explain WHY that logic was used... I've seen something written in a certain way, uncommented (because the WHAT it was doing was obvious, but not the WHY) and looked at it, and thought, "Hey, if we rewrite it this way, it would be more efficient..." only to then break it...
Yeeeeah, I think we're violently agreeing here.
 Originally Posted by Evil_Giraffe
The only time comments should be required in .NET code is when you've done something non-obvious for a very good reason, at which point the comment should restrict itself to detailing WHY the obvious code was not written.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|