Re:Let's make the web faster: Tools to discover and improve ...
by latch on Tuesday December 07, 2010 @10:04PM
(#1981688)
Can someone shed some light on what JSLint has to do with performance?
[ Parent
| on HN ]
Re:Let's make the web faster: Tools to discover and improve ...
by aristus on Tuesday December 07, 2010 @11:48PM
(#1981940)
JSMin (and other compressors) often cause terrible, hard-to-understand bugs in sloppy code. Passing JSLint helps avoid a lot of those problems.
Re:Let's make the web faster: Tools to discover and improve ...
by tyrmored on Tuesday December 07, 2010 @10:10PM
(#1981697)
It is a little bit of a stretch. I'd guess that proper use of variable declaration, which JSLint enforces, could make more efficient use of memory. It also doesn't tolerate idiosyncrasies like missed semicolons which might amount to a touch less stress on processing.