What do you mean?
Hack? Who said anything about hacking?
Not “hacking”, silly…
In modern computer programming, a “hack” can refer to a solution or method which functions correctly but which is “ugly” in its concept, which works outside the accepted structures and norms of the environment, or which is not easily extendable or maintainable (see kludge) — Wikipedia
If you come from a software development background, you know what hack code looks like and how fun it is to try and read it or learn anything of consequence from it. So? So what? Read on.
The Root of the Problem
This helped out somewhat. People started to use these libraries to un-compicate their coding lives by not worrying about browser differences or making ugly calls on the ‘document‘ object to manipulate and query the DOM.
Libraries like GWT, YUI, Mootools, JQuery, Dojo, Prototype, and any of the other tons of JS libraries out there do different things to make your coding lives easier and more readable. Google Web Toolkit (GWT) is a java based HTML/JS generator where you write all of your interface code in Java using AWT and Swing-like coding convention; mootools has a simplified “Class” object that you can “extend”.
Quit Complaining if You Don’t Have a Solution