Wednesday, April 05, 2006

How to Comment AJAX Code

Lately I've been perusing some of Oracle's Javascript code from its ADF Faces. I see that it's extraordinarily well commented.

I'm looking at it in OpenOffice, so just for fun, I tell OOo to do a regex-search on


and globally replace that with zilch, thereby wiping out all comment lines.

The result? With comments, Oracle's Core.js file is 140 KB. Without comments: 95 KB. Imagine: almost 50K of comments in a 140K file.

I don't think I've ever seen such well-commented code in any language, ever.



  1. Why does all languages use a different symbols. They need to be unified! Check this article for mroe

  2. Now and again friends or maybe family can be using this services of any cleaning company that they may recommend. By means of asking these individuals, one might get an idea if at all a good service agency or definitely not. It is additionally a smart idea to ask many people if they be aware of the clean-up business found on the internet. Most commonly it is good to take into consideration the judgment of many people and for getting their tips before deciding which clean-up company to settle on. deep cleaning services dubai

  3. This is actually similarly a brilliant substance I truly enjoyed checking The Falcon and The Winter Soldier Baron Zemo Black Trench Coat. This isn't constantly which I have potential to work out an issue.


Add a comment. Registration required because trolls.