I’ve been using JQuery quite a bit recently and I just love how easy it is get stuff done.
Not necessarily difficult stuff either, but being able to do in three lines of code what would take at least 50 lines for me to write by hand, is very nice.
I’ve seen all kinds of very pursuasive agruments online about the evils of using JS frameworks (or Frameowrks of any flavour, I guess), which mainly say that if you can’t code it yourself by hand, then you shouldn’t be using a framework anyway.
I think this is a weirdly masochistic (and arrogant) stance to take. I wonder how many of those coders who write everything by hand drive cars. And of those, how many built their car by hand? But perhaps that’s not a fair comparison. After all, car drivers are “users” of the product, and we don’t expect users of our sites to be web developers just to be qualified to use them.
So how about car mechanics? Does the average grease monkey tool every part they use by hand? And do they braid the wires themselves from copper wire they also drew? I don’t think so. They go to the parts catalogue and buy the parts they need, ready made, to finish the job. And I’m sure they don’t lose much sleep wondering if people think any less of them for doing so.
Sure there are machinists out there who can, and do, make those parts from scratch. But in the JS Framework analogy, those are the same code monkeys who write the frameworks in the first place which the rest of us use.
For me it’s simply a question of productivity. What’s better? To spend a whole day finely crafting a brilliant bit of JS? Or spending 15 minutes getting the job done in JQuery?