News for hackers. Stuff that matters.
Re:Why I still prefer Prototype to jQuery by old-gregg on Monday January 12, 2009 @05:50PM (#431278)
I don't understand why does one need to make a choice. Even comparing the two makes little sense: jQuery is smaller and DOM-focused, while Prototype is a much more comprehensive multi-file library and DOM-related stuff is just a part of it, completely isolated in its own file which you can exclude during Prototype's build process.

I use both: jQuery for HTTP and DOM traversing/manipulation plus DOM-less prototype core for everything else. This combo is awesome, conflict-free and quite compact when gzipped. Bare bone JavaScript is too weak library wise and Prototype makes an excellent "standard library" for it. I couldn't live without Prototype's extensions to enumerable, strings, arrays, hashes, etc.

And it's 100% compatible with Rails thanks to jRails project. I highly recommend it.

Re:Why I still prefer Prototype to jQuery by litewulf on Monday January 12, 2009 @06:17PM (#431306)
One argument against doing both is that Prototype alters many built in classes directly. This is often risky and dangerous, and makes interactions between the two code bases possible.
Re:Why I still prefer Prototype to jQuery by jpcx01 on Monday January 12, 2009 @07:42PM (#431417)
Prototype alters stuff but jQuery doesn't. So there is very little conflict. The use of Prototype however will prevent use of other altering js frameworks like MooTools.

Fundamentally I think Prototype/MooTools are horribly designed javascript library because they introduce incompatibilities. However I use them when I need a free component or 2. I would never drop jQuery though so I always use $j instead of $, even when using jquery by itself

Re:Why I still prefer Prototype to jQuery by old-gregg on Monday January 12, 2009 @09:16PM (#431509)
A correction: it's better to say "Prototype expands built-in classes", i.e. it adds methods that otherwise aren't there. This is never risky nor dangerous unless you have another global-namespace library, which jQuery isn't.