3 ms·
So you replace 4 lines of jQuery with 40 lines of barely readable Angular (for somebody who hasn't worked with it), and declare jQuery dead?
by imaginenore 12y ago
So you replace 4 lines of jQuery with 40 lines of barely readable Angular (for somebody who hasn't worked with it), and declare jQuery dead?
- xtrumanx 12y agoHis example is terrible but his conclusion is sound (imo): > Yeah, jQuery is dead not because frameworks make you write better code - we know they don’t - but because your framework does DOM manipulation better than you ever could. If what I need to accomplish can be done in 4 lines of jQuery, I use jQuery. When I know there's going to be a ton of DOM manipulation, I reach for a suitable framework/library because I know the mess I'll end up in if I try scaling up the 4 lines of jQuery to handle a complex web application.