2 ms·
"Prototypejs was technically superior for a long time" Can you expand on that at all? What made Protoype technically superior?
by simonw 15y ago
"Prototypejs was technically superior for a long time"
Can you expand on that at all? What made Protoype technically superior?
- mnutt 15y agoThe enumerables prototype took from ruby were really nice. I always liked being able to do things foo.map(function(p) { return p.length; }); jQuery's $.map felt clunky in comparison. (this is all with the understanding that prototype adding methods to standard objects was dangerous...)
- apinstein 15y agoIn addition to the functional programming techniques it offered (which are now handled by underscore in the jQuery landscape) its selector was much more performant than jQuery's for a long time.