[Javascript] Using libraries for everything (Was: Listing Images on current page)
Scott Reynen
scott at randomchaos.com
Thu Sep 6 11:41:20 CDT 2007
On Sep 6, 2007, at 10:21 AM, Terry Bader wrote:
>>>> How do I get a list of the images on the current page ?
>>> You could do this using a library like jquery...
>>
>> Loading a 20K library seems a little excessive for such a trivial
>> task:
> thats only one of the many many things you can do...
>
> and if you havent been introduced to it, then check it out...
I find jquery incredibly useful, but it's really inappropriate for
this problem. It's not only completely unnecessary, as Nick pointed
out, but throwing a library at concepts you don't understand pretty
much guarantees you'll never learn. It's like suggesting someone use
a calculator when they ask how to do addition. Here's a good article
on the topic:
http://www.joelonsoftware.com/articles/LeakyAbstractions.html
"Code generation tools which pretend to abstract out something, like
all abstractions, leak, and the only way to deal with the leaks
competently is to learn about how the abstractions work and what they
are abstracting. "
Peace,
Scott
More information about the Javascript
mailing list