3 ms·
jQuery. I don't need classes and inheritance (I use closures for pretty much everything you would use a class for, and on the occasions that I do need either cl
by simonw 19y ago
jQuery. I don't need classes and inheritance (I use closures for pretty much everything you would use a class for, and on the occasions that I do need either classes or inheritance it really isn't that much trouble to roll them from scratch) and philosophically I much prefer jQuery's approach of only adding one global symbol to my namespace v.s. Prototype adding global symbols all over the place.