12-17-2007, 01:27 PM
|
#10 (permalink)
|
|
The Acquainted
Join Date: Nov 2007
Posts: 127
Thanks: 14
|
Quote:
Originally Posted by sketchMedia
one thing i will add tho, while i agree you should comment code, i believe (and was always taught) not to over comment, there isnt a single thing worse than code that is obstructed by a small novel being written about a simple function or a an echo for example, you need to implement some common sense on that.
|
I once worked with someone who commented EVERY line of Javascript he wrote.
javascript Code:
<!-- assign the value of 1 to a --> var a = 1;
<!-- assign the value of 2 to b --> var b = 2;
|
|
|
|