Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2007
    Posts
    19
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    4,054
    Plugin Contributions
    1

    Default Re: To comment or not to comment?

    Quote Originally Posted by FlaDevil View Post
    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.

  3. #3
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,145
    Plugin Contributions
    0

    Default Re: To comment or not to comment?

    Quote Originally Posted by RodG View Post
    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.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  4. #4
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    4,054
    Plugin Contributions
    1

    Default Re: To comment or not to comment?

    Quote Originally Posted by afo View Post
    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>

 

 

Similar Threads

  1. Rule and comment between Atributes
    By MrBafner in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Apr 2007, 09:47 AM
  2. v1.3.7 Persistant Option Name Comment
    By asknight in forum Bug Reports
    Replies: 1
    Last Post: 10 Jan 2007, 09:25 PM
  3. Add a link in the comment area of an option name
    By meko19 in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 17 Dec 2006, 11:51 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •