Very interesting (if-you’re-a-nerd) talk by John Resig. It’s real geek stuff but the takeaways are:
- John is very serious about testing, tracing and benchmarking for jQuery (and frameworks in general). For you and me, that means faster, more reliable jQuery. Win. (He also thinks many common benchmarks are
bullshitnot statistically sound.) - jQuery 1.4 takes advantage of the above. He approaches performance more in terms of reducing complexity, as opposed to tweaking optimizations. The result is much-increased performance, even if that isn’t the proximate goal.
- New jQuery.require() method. A way of loading scripts dynamically. JS (and CSS for that matter) do not have a good mechanism for dependencies. This helps a bit.
- The Closure compiler sounds fascinating. It’s not a Javascript minifier. It actually goes through your code, removes any code paths that aren’t called.
In the awesome design of things you’ll receive a B+ for hard work. Where you lost me was on all the specifics. You know, it is said, the devil is in the details… And that could not be much more correct in this article. Having said that, allow me reveal to you what did do the job. The writing is definitely rather convincing and that is probably why I am taking the effort in order to opine. I do not really make it a regular habit of doing that. 2nd, while I can easily see a leaps in reasoning you come up with, I am definitely not confident of exactly how you appear to unite your points which in turn produce the actual conclusion. For the moment I will subscribe to your point but trust in the future you link your facts better.
I’d must verify with you here. Which isn’t something I often do! I take pleasure in reading a post that might make men and women believe. Additionally, thanks for permitting me to comment!