Code Commenting
Ray Iddings
Posts: 47
I saw this article over on slashdot and thought it was interesting.
http://particletree.com/features/successful-strategies-for-commenting-your-code
It is on commenting in your code, something a certian parallax employee, (I'm not going to say its Jon Williams,but it is). Always preaches about. Best line from the article :
"Commenting your code is like cleaning your bathroom—you never want to do it, but it really does create a more pleasant experience for you and your guests"
Enjoy.
Ray
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·*
http://particletree.com/features/successful-strategies-for-commenting-your-code
It is on commenting in your code, something a certian parallax employee, (I'm not going to say its Jon Williams,but it is). Always preaches about. Best line from the article :
"Commenting your code is like cleaning your bathroom—you never want to do it, but it really does create a more pleasant experience for you and your guests"
Enjoy.
Ray
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·*
Comments
All kidding aside, have you notice that languages that enforce formatting -- like Python -- are gaining in popularity.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
To every programmer out there..... Keep the comments flowing!!!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
P.S. This is what this part of the alphabet would look like if "Q" and "R" were eliminated.
good link - thank you. I noticed that I at least were following two of the presented rules since a long time by using TODO: and BUG: comments in almost all of my programs .
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Greetings from Germany,
G
Ray
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·*
Onto the more serious subject at hand ... quality-crafted code becomes somewhat self-commenting, and additional comments are only for documentation and user edification. That's the JonnyMac's $0.02, anyway.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax