?

Log in

No account? Create an account
entries friends calendar profile My Website Previous Previous Next Next
I Hate Javascript, part 74 - Mark Atwood
fallenpegasus
fallenpegasus
I Hate Javascript, part 74
I am against reminded of why I hate JavaScript.

The "confirm this person is your friend" buttons on facebook don't do something simple, like just be HTML buttons. Instead they are some sort of complex javascript thing that do some complex javascript thing.

And now they don't work. I click on them, and nothing happens...

Tags: ,
Current Location: Home, Capitol Hill, Seattle WA

4 comments or Leave a comment
Comments
From: samildanach Date: December 17th, 2007 09:55 am (UTC) (Link)
Is your argument with:
a) Javascript, the particular language or technology;
b) fat clients in a Web context;
c) fat clients in general; or
d) things that fail poorly and non-transparently?
fallenpegasus From: fallenpegasus Date: December 17th, 2007 06:35 pm (UTC) (Link)
In order: d,a,b,c.

I posted an "I hate javascript" rant to comp.lang.javascript a couple of years ago, and every point of that rant is still completely valid.

We start with the fact that the very name of the language is a marketing lie, and go on from there...
From: samildanach Date: December 18th, 2007 03:34 am (UTC) (Link)
We can usefully peel back the marketing crap layered on by Netscape and refer to it as ECMAScript. Poorer communication in one sense, richer in another.

That brings us a little closer to the technical meat. I've not studied JavaScript in any depth, save reverse-engineering a bit of the Google Maps front end when it first came out. My impression is that it's a "just barely good enough" language, useful primarily because of its huge installed base right where one might wish for a lever.

I'm generally unimpressed with fat clients. The Facebook dialogs are so close to right, but awful. On the other hand, Google Maps is compelling.
mauser From: mauser Date: December 18th, 2007 04:18 am (UTC) (Link)
I have a rule, don't do with Javascript what you can do with HTML. Alas, it's just my rule, since nobody else wants it.

Hell, I used to have my studio site set up with a sidebar menu with disclosure triangles that changed multiple panes, and I did it in HTML, just to prove I could.

'sides, I don't know any Javascript.
4 comments or Leave a comment