Live data from Hacker News

JQuery is for Noobs

bobremeika.com

21–30 of 32 posts

Re: JQuery is for Noobs

#21
jQuery is for websites, while Dojo or Prototype is for applications. The architecture of the library/frameworks are extremely different, and if you can write jQuery then it isn't too difficult to switch to another library or framework. It's all javascript. I don't see why people like using tools for unintended use cases. This is like using Rails to build a 3 page static site. Wrong tool for the job.

Re: JQuery is for Noobs

#22
post #14

Strictly speaking, it sounds like Dojo is the one that's "for noobs". I mean, all the stuff that "happens" when you use jQuery are rookie mistakes: Including multiple libraries/plugins to do the same thing Not being ready to handle i18n/l10n Not having tests Point being, if you know what you're doing, these aren't things that are going to blindside you or that you're just going to forget about. We have apps that have…

>We have apps that have well over the mentioned 5k LoC of JS that even our Ruby programmers have no problem cracking open Why the "even?" What is it about your ruby programmers which means you find it unusual that they can understand your 5k line JS app? Not trying to be snarky or pedantic, I'm genuinely curious. I see the two languages as being relatively similar, with their common emphasis on closures and functions…

I work in a big shop. By and large our programmers don't venture outside their specialities (their choice). You could rephrase what I said as "even people who don't know anything about the code and have very limited experience with JS..."

I can see how what I said may have made the wrong impression. I don't think there's anything Ruby-specific that makes people good or bad at JS.

Re: JQuery is for Noobs

#23
post #18
post #15

Friendly reminder: this post does not appear on classic HN.[1][2] [1] http://news.ycombinator.com/classic [2] http://en.wikipedia.org/wiki/New_Coke

What's classic mode?

I think it's where the only submissions displayed are those submitted by users who have karma above a certain threshold (or where their account was created a long time ago, i.e. not new account submissions).

Re: JQuery is for Noobs

#24
post #18

Earlier quoted context omitted.

What's classic mode?

I think it's where the only submissions displayed are those submitted by users who have karma above a certain threshold (or where their account was created a long time ago, i.e. not new account submissions).

It is actually submissions ranked by HN users whose accounts were created in the first year.

Re: JQuery is for Noobs

#25
post #15

Friendly reminder: this post does not appear on classic HN.[1][2] [1] http://news.ycombinator.com/classic [2] http://en.wikipedia.org/wiki/New_Coke

What are you trying to say and why do you call it a reminder? Are you reminding us to do something specific?

Re: JQuery is for Noobs

#26

Summary for those in a hurry: "fuck this, fuck that shit, dojo has better i18n and a11y plugins, fuck jquery, The End" The tarantino writing style weakens his argument, IMHO. More scientific arguments and less passion please.

Perhaps these will be sufficiently dispassionate for you: - http://blog.rebeccamurphey.com/on-rolling-your-own - http://blog.rebeccamurphey.com/on-jquery-large-applications - http://blog.rebeccamurphey.com/2009/11/12/dojo-confessions-o...

Rebecca, thank you for posting these. I'd categorize myself among the n00bs the OP refers to, and your reasoned articles were very beneficial. I hadn't considered Dojo in the past, but I'm planning a very client-heavy JavaScript application in the near future, and I'll definitely check it out.

Re: JQuery is for Noobs

#27

Summary for those in a hurry: "fuck this, fuck that shit, dojo has better i18n and a11y plugins, fuck jquery, The End" The tarantino writing style weakens his argument, IMHO. More scientific arguments and less passion please.

If you're calling i18n and a11y "plugins", you're missing the point. These types of considerations are taken thoughout the framework in a consistent manner.

Re: JQuery is for Noobs

#28
post #15

Friendly reminder: this post does not appear on classic HN.[1][2] [1] http://news.ycombinator.com/classic [2] http://en.wikipedia.org/wiki/New_Coke

What are you trying to say and why do you call it a reminder? Are you reminding us to do something specific?

I think you know what I mean. If I'd just said the article was immature and silly and doesn't belong on HN because of its outrageous tone my feeling is that I'd be downvoted, as it's happened before, so I made my criticism more oblique.[1]

[1] http://en.wikipedia.org/wiki/Self-censorship

Re: JQuery is for Noobs

#29
post #28

Earlier quoted context omitted.

What are you trying to say and why do you call it a reminder? Are you reminding us to do something specific?

I think you know what I mean. If I'd just said the article was immature and silly and doesn't belong on HN because of its outrageous tone my feeling is that I'd be downvoted, as it's happened before, so I made my criticism more oblique.[1] [1] http://en.wikipedia.org/wiki/Self-censorship

I didn't know what you meant. But that's by the by. A larger question has to do with HN changing as its userbase changes. Things change. Sometimes for the worse:

https://secure.wikimedia.org/wikipedia/en/wiki/Eternal_Septe... http://gilesbowkett.blogspot.com/2008/05/summon-monsters-ope...

And sometimes for the better. There was a time when the PC web was all about the newcomers, the barbarians beating at the gates of the establishment. The web was the same way. I can't rule out the possibility that if HN is flooded with newcomers, some of them might be vandals wrecking everything, but some of them might also be ushering in a new age, the new new thing.

Re: JQuery is for Noobs

#30

Earlier quoted context omitted.

Perhaps these will be sufficiently dispassionate for you: - http://blog.rebeccamurphey.com/on-rolling-your-own - http://blog.rebeccamurphey.com/on-jquery-large-applications - http://blog.rebeccamurphey.com/2009/11/12/dojo-confessions-o...

Rebecca, thank you for posting these. I'd categorize myself among the n00bs the OP refers to, and your reasoned articles were very beneficial. I hadn't considered Dojo in the past, but I'm planning a very client-heavy JavaScript application in the near future, and I'll definitely check it out.

I would look at MooTools, their approach to OO JS abstraction keeps your JS heavy web apps lean and mean!
Post reply on HN