Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

c'mon you know i meant that 10-20 lines are for an ie6+ solution.

You have to justify why you use something additive, not why not to use it.

If your decision not to use jQuery (or another lib that makes your life easier) is because of performance then you're optimising much too early.

Personally I optimise for developer time first and raw performance much further down the line.

And dom querying is not usually the bottleneck in most sloppy sites... its way too many event listeners. And jQuery comes to the rescue once again with extremely easy (to read and write) event delegation.

Sorry I don't mean to offend you or anything... but if you're rejecting jQuery or extjs or zepto etc. on the basis of performance then you're probably doing it wrong. Keystrokes count. Libraries allow you to focus less on plumbing. That's the whole point.



> If your decision not to use jQuery (or another lib that makes your life easier) is because of performance then you're optimising much too early.

LOL. That's the stupidest thing I ever heard. This is John Resig, isn't it? :)

> Personally I optimise for developer time first and raw performance much further down the line.

Yeah, you just set a new precedent. :(

> And dom querying is not usually the bottleneck in most sloppy sites...

You are allowed more than one bottleneck.

> its way too many event listeners. And jQuery comes to the rescue once again with extremely easy (to read and write) event delegation.

You just have no frame of reference.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: