2008-01-15

I was just doing some coding today and thought of a couple things I should share with the world about commenting if you do HTML/CSS development:

  • Comment your code always, especially for browser-specific fixes, anything non-standard or anything that does something different than one would expect it to by reading it.
  • Leave URLs for fixes you've used in your comments. You may want to put in the title of the page and some of the keywords for the fix as well in case the link disappears in the future.
  • Bookmark or blog the URLs you have found for fixes in the past and leave detailed descriptions. This will be helpful for you in the future and if you blog it or use social bookmarking this is a huge help for other developers.

Leave a Reply