Re: book - jQuery



David Mark wrote:
script. It is not a language.
Of course it isn't a language, languages are only in my analogy.

It's the same stupid analogy that is repeated constantly by proponents
of these libraries. It misses the point completely. If browser
scripting is to assembler, what jQuery is to a bad program written in
assembly language. In other words, jQuery is 50K of junk code, not a
C compiler.

Maybe so, but repeating over and over that something is junk wouldn't
make that a fact.

Perhaps things are not ideal but calling something junk which obviously
isn't will not bring your criticism any credibility.
Eg. here is one more realistic view on which I completely agree,
http://groups.google.hr/group/comp.lang.javascript/msg/616ecf9f40576d3c

Btw, I'm curious what's your opinion about prototype/mootools/dojo?

Prototype is a complete crock as well. Always has been. What can you
say about a Javascript program that adds lots of bloat to "work
around" prototypal inheritance, yet is named "Prototype." That's the
mindset. And it is full of browser sniffing, which the developers
must constantly twiddle with to make it "work" in a handful of
browsers in their default configurations.

Mootools is the same stupid thing as far as inheritance. Last I
checked, it is also sniffs the user agent string (an automatic F.)
And IIRC, their documentation states (or stated at one point) that
most of the methods require an "XHTML doctype" (they meant they don't
support quirks mode.) That pretty much sums them up.

Never used Dojo or paid much attention to it. It is a huge framework,
so it should be a non-entity on the Web. I'm sure lots of hacks are
using it behind corporate firewalls. They'll regret it eventually,
but at least they won't foul up the Web in the process.

So there are no good frameworks out yet; can that be changed?

The "jQuery vs. Prototype" arguments are but noise from two camps of
myopic and ignorant fanatics. Here is a snippet from one of them I
recently noticed at the bottom of a blog entry:

I believe you on that.

misinformation on the Web and subsequently conclude it is impossible.
Matter of taste, if you ask me.

How is programming for failure at the outset a matter of taste? It is
a matter of necessity for those with no experience or ability, but who
would want such people writing, testing and maintaining scripts? It's
ridiculous.

I think you're just jealous. Jealous in the same way c++ programmers
were toward VB camp when VB gained popularity (or os/2 vs MS for that
matter).

Then they latch onto some other lost souls who "used to hate
Javascript" until they discovered this magical 50K script that makes
it fast, concise, etc.
What is wrong with "fast" and "concise"?

Nothing. But it is ironic that a library that promotes terribly
inefficient code patterns would be referred to as "fast." And concise
for jQuery means illegible + 50K. But, of course, if you have never
known anything but jQuery, you are unlikely to recognize this.

As I said, matter of taste.
You obviously dislike js frameworks and you're unhappy about where is
world going to. To change that you can start something on your own and
attract attention of developers by better/faster libraries, or improve
existing frameworks by joining their teams.
One thing is sure, js frameworks are to stay and are only gaining in
popularity because they are useful.

.



Relevant Pages

  • Re: Ruby Online
    ... For dynamic sites, you could write the program in just about any language, though some are not very practical. ... Some libraries are more extensive than others. ... Rails is a web development framework written in Ruby. ... Plone and Django o are Python frameworks. ...
    (comp.lang.ruby)
  • Perry Marshall DNA is language MP3 transcribed
    ... To have information you need matter, energy and will. ... ATCG letters of the DNA alphabet. ... What makes a language. ...
    (talk.origins)
  • Re: Perry Marshall DNA is language MP3 transcribed
    ... To have information you need matter, ... ATCG letters of the DNA alphabet. ... What makes a language. ... The essential distinction between patterns and designs is language. ...
    (talk.origins)
  • Re: Halt execution procedure
    ... by expressions that are not initialization expressions. ... Many of the reasons for this are historical. ... But the language isn't designed from scratch and it ... it doesn't matter what you think. ...
    (comp.lang.fortran)
  • Re: Is abiogenesis a testable hypothesis or a conjecture?
    ... Materialists have a priori predetermined the form any answer must ... take: Matter created language. ... Either there is life or there is just dead matter. ... brains...brains being material....language is a creation of matter. ...
    (talk.origins)