3 ms·
jQuery's bad api naming shouldn't come as a surprise to anyone who followed JavaScript in the past 10 years. They used bind for event handling, proxy for bindin
by emehrkay 11y ago
jQuery's bad api naming shouldn't come as a surprise to anyone who followed JavaScript in the past 10 years. They used bind for event handling, proxy for binding, grep as some kind of filtering, keys and indexes are flipped in the looping construct, etc. etc. It really mirrors PHP's interfaces in a lot of ways.
- jebblue 11y agoJavaScript is a bad language from the start, not really deserving to be called a language. jQuery makes JavaScript usable.
- dcherman 11y agoJavascript is perfectly fine. I think you mean the DOM is historically an unusable mess, but even that is getting better these days.
- emehrkay 11y agoI was definitely talking API design choices. A lot of libraries achieve the same tasks, sometimes more, than jQuery with more thought-out APIs.