Jonathan Starr's Blog
Thoughts on C#, Ajax, WCF, LINQ, Agile et al.
Site Sections
Home
Contact
Syndication
Login
Posts
74
Comments
75
Trackbacks
0
<< Scrum / Agile Development: A Renaissance of Culture Through the Eyes of Levi-Strauss
|
Home
|
Scrum / Agile Development and Team Consciousness >>
Coding With Comments
improve
my
=>
'code'
Jeff Atwood wrote an interesting post today about
Coding Without Comments.
If you didn't catch it, he basically says that if a coder uses excellent naming conventions in his code, the code is eminently readable. So the need for comments is obviated.
Partly
true, I say. But there are significant exceptions to consider.
If you have external customers using your code, public methods should have have lots of comments. With summary tags filled so your customer know what the methods do. And code and example tags to give them easy to follow examples to emulate, and so they get their money's worth from your code.
I will let you in on a secret. I write my stored procedures with
unit tests
in the comments so that everyone knows how to use them AND how to know that they are working. (See wasn't that comment helpful?)
Jonathan
posted on Friday, July 25, 2008 5:48 PM
Print
Comments
#
re: Coding With Comments
Jeffy
9/4/2008 4:02 PM
Do you have an example of one of these unit test comments?
Post Comment
Title
*
Name
*
Email
Url
Comment
*
Remember Me?
Please add 5 and 1 and type the answer here:
Enter the code shown above:
Archives
August, 2008 (2)
July, 2008 (2)
June, 2008 (3)
May, 2008 (2)
April, 2008 (3)
March, 2008 (4)
February, 2008 (1)
January, 2008 (13)
December, 2007 (19)
November, 2007 (12)
October, 2007 (10)
September, 2007 (3)
Post Categories
C#
Philosophy
Critique
JavaScript
Links
Software Design
Personal
Religion
Music
Language
Microsoft Live
Politics
Geopolitics
Humor
Physics
Thought Experiments
Businesses using ASP.NET
Friends
Finance
Microsoft Events
Sharepoint
CRM
Caffeine
Africa
Charity
Sports
Statistics
Privacy
Management
Software Development
WCF
Instructional Video
1CCN.COM
Mobile Phone Applications
Windows Movie Maker
Management
Financial Engineering
ASP.NET
SQL Server
Anthropology
Agile Development
Scrum
TDD
Spike
Image Galleries
Fishing Trip
About the Author
Blogs
Scott Guthrie
Timothy Ferriss
GeeksWithBlogs
Bill Evjen
Kevin Grossnicklaus
Meridium Visual Studio Macros
Geometry
Flatland!
Good topology problem
Moebius Transformations
Music
Amish Paradise
Chiron Beta Prime Christmas
Code Monkey
Don't Download this Song
I Feel Fantastic!
re: Your Brains
The Future Soon
What's the matter with parents today
White & Nerdy
Programming
Good Script # Intro
jQuery
LOL Code Compiler
Meridium Visual Studio .NET Macros
MyGeneration
MyGeneration
Refactor Code
SkyDrive
Storage
Skydrive
Videos
Trunk Monkey
News
Jonathan Starr is a developer in Saint Louis, MO. He holds an MBA in Finance from Columbia Business School and earned his MCSD from Microsoft.
All statements in this blog are personal opinions and do not reflect the opinions of his employer.
Related Sites
Tag Cloud
Default.aspx
LINQ
SqlServer
TDD
UnitTests
Windows Live Writer
XP
Copyright © 2005 Jonathan Starr
This work is licensed under a
Creative Commons License