Zen Cart Logo
Forums / General Questions / To comment or not to comment?

To comment or not to comment?

Locked

Views: 1,537

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
17 May 2007, 10:31 AM
#1
fladevil avatar

fladevil

New Zenner

Join Date:
Mar 2007
Posts:
19
Plugin Contributions:
0

To comment or not to comment?

So how many people comment their code? I know adding comments is extra lines of code which mean larger files. I'm just curious on what everyone does.

fladevil

17 May 2007, 11:11 AM
#2
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: To comment or not to comment?

FlaDevil:

So how many people comment their code? I know adding comments is extra lines of code which mean larger files. I'm just curious on what everyone does.

fladevil
The only people that don't comment code are those that have been coding just long enough to think they no longer need to do it, but not long enough to have had to revisit old code and scratch their heads wondering what the heck the code was supposed to do.

17 May 2007, 1:50 PM
#3
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: To comment or not to comment?

RodG:

The only people that don't comment code are those that have been coding just long enough to think they no longer need to do it, but not long enough to have had to revisit old code and scratch their heads wondering what the heck the code was supposed to do.

Only too true! I've been programming for over 20 years and still look at code I've written and wonder what I was thinking at the time. Comments can be life-savers when the code is complex or reason for the code is unclear.

18 May 2007, 6:57 AM
#4
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: To comment or not to comment?

afo:

Only too true! I've been programming for over 20 years and still look at code I've written and wonder what I was thinking at the time. Comments can be life-savers when the code is complex or reason for the code is unclear.
How complex can it be to program a slide rule and abacas? <g,d,r>