3

Do you write your comments before or after you write the code?

Do you write var foo = 1; and then go back a line above it / beside it to comment, or do you write the comment line / block first prior to writing the code statement?

Comments
  • 8
    None of the above, I don't write comments bro
  • 1
    Come to think of it, I usually always write my comments after doing something I would probably forget about or if it's something that looks kinda complex
  • 0
    Barbarians. The lot of you, barbarians.
  • 1
    After writing code, since IDE automatically puts '@var $name */' after writing '/**', so all i have to do is fill in the type of that variable.
  • 1
    Lately I have been doing the same. I tend to write out my thought process in a comment, then break it down into steps of comments and then fill in the code. Not always though.
  • 0
    I know after read about the article it will be simple computer specs windows 10 for the get reasons https://windowsclassroom.com/how-to... and I am very sure now your computer will be give good service about the working.
Add Comment