Skip navigation

Importance of Comments

I notice that some scriptwriters put a lot of comments in their code. Is this really necessary? It takes a long time to do and seems like a waste of time.

Comments in your code are a professional courtesy to those who will maintain your code. Keep in mind that you might be one of those code-maintenance people and that the purpose and operation of a script that seems clear today might be less obvious to you and others in 6 months.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish