r/javascript • • Nov 03 '11

jQuery vs Plain old javascript

http://raynos.org/blog/14/jQuery-vs-POJS
0 Upvotes

53 comments sorted by

View all comments

Show parent comments

1

u/[deleted] Nov 03 '11

Out of curiosity when would you say you needed to use it?

0

u/k3n Nov 03 '11

When you have tight deadlines and don't have the time to build requirements/spec out a full DOM cross-browser compatibility library that encompasses browsers that you can't even reliably test on your hardware.

So, instead of taking blind stabs in the dark and copy/pasting code from some geocities-like website, and dealing with the hundreds of hours of testing and refactoring required to support IE6 or IE on Mac or whatever, you go to jQuery.com, download, and get to working on the actual project within 30 seconds.

Or, you could waste 100's of hours writing your own library due to your NIH-xenophobia and not even have your lib finished by the time the due date hits.

2

u/raynos Nov 03 '11

We are not objecting to you using a tool for cross browser compliance. Writing your own is time consuming.

We are objecting to you using jQuery as your cross browser compliance tool when better options exist.

1

u/k3n Nov 03 '11

"We"? You and what army?