On Oct 29, 4:42 pm, David Mark <dmark.cins...@ gmail.comwrote:
[jQuery criticisms]
Enough is enough. If you use jQuery after reading this, you are
deserve everything you get.
Thank you for your detailed reply. I am going to investigate these
things further and find out if jQuery can be improved.
I haven't done an extensive look "under the hood" of jQuery, but I
have looked at some of the code. I've also noticed examples of
questionable code, but I assumed there was a reason for them doing
things the way they do. I've never had a problem with jQuery not
functioning correctly. As long as I see the expected behavior right
now, the underlying code can be streamlined and improved. All the
issues you mention can be fixed and improved while still maintaining
the same API, making the library more solid without the end-user even
knowing about the changes.
If
you take an average JavaScript developer and give them this mess to
play with, are you really empowering them to write competent
applications?
I still think so, yes. Having a developer program to the API to
simplify their development is a good thing. It's a layer over the low-
level stuff, but that enables them to be much more productive. If
there is a problem found in the library behavior, it can be fixed.
If you use or advocate jQuery after today, you are stupid.
I will continue to use it and advocate it. I'll also try to improve
it.
I guess I'm stupid.
(Previous time to develop functionality) - (current time to develop
similar functionality) = Time Savings
Time Savings * Pay Rate = Money Saved
Oversimplificat ion.
Really?
You would recommend that we stop using it and start coding from
scratch?
Why do library-advocates invariably see just those two choices?
Because library-critics rarely provide any real answers or
suggestions. Just criticisms.
It's easy to question everything. It's much harder to provide a real
answer.
I have little respect for people who constantly bitch about what
everyone else provides for free to the world, yet never actually
provide anything themselves.
If everyone else is doing it wrong, and you know how to do it right,
why don't you show the world how it should be done? Those who are the
supposed "experts" that bash everyone else rarely put their own
libraries and code up for public consumption and criticism. I have
respect for people like Peter who is obviously an intelligent and
knowledgeable contributor to this group and has also put his own
library out there. If the more vocal critics would do the same,
perhaps these other "horrible" libraries would die out and the world
would be a better place.
Matt Kruse