Featured Posts

The Value of Feeling Appreciated as an Employee in... Whether you’re a new employee or the vice president of the company, everyone wants to feel valued, even appreciated, in the workplace. Not only does it improve morale and make the workplace a more pleasant...

Read more

The difference between classic and motion tweens in... Here it is: If you're used to doing things "the cs3 way" then you can continue to do so with the classic tween tool. It works the same way as you remember, using key frames as normal, but you cannot...

Read more

PHP: If (equal to AND not equal) - eliminate form spam... Just learned a great function of PHP thats already made my forms a lot better. A while back I wrote an article about eliminating form spam without captchas by using css to hide a text input box for bots...

Read more

Drop Downs, Fly Outs, and Accordion Site Navigation: This last week I was in a meeting discussing a client site. It was a typical business meeting that was going into overtime on a Friday afternoon, and then things turned for the worst... someone suggested...

Read more

twitter

Breaking News

  •  

What’s with the hate on comments in code?

Category : Coding and Database, General Web Info, Technology

I was always in the mindset that you should always comment your code. It makes it easier to go back in later on and figure out what you’re doing to power the site, easier for someone else to reverse engineer it should something happen to you or the business arrangement, and it allows for freeware code like SWF Object to circulate as comments in the code for those who would look.

Recently, I’ve heard from a few different sources, Lesley, our advisor from More Visibility included, that comments, especially ones with urls, hidden code, or actually any code period is a no no for SEO, and increases load time, and so should be removed.

If the comments are relevant I don’t agree with either of these points as that the potential benefit is not equal to the potential loss, namely ownership and accessibility. I guess my point is, if you had to reduce website load times there are plenty of other ways to do it.

Post a comment