Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion Crockford's JavaScript, The Good Parts (a book review).
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
lorlarz  
View profile  
 More options Aug 18 2008, 5:41 pm
Newsgroups: comp.lang.javascript
From: lorlarz <lorl...@gmail.com>
Date: Mon, 18 Aug 2008 14:41:21 -0700 (PDT)
Local: Mon, Aug 18 2008 5:41 pm
Subject: Re: Crockford's JavaScript, The Good Parts (a book review).
On Aug 18, 4:26 pm, Joost Diepenmaat <jo...@zeekat.nl> wrote:

> lorlarz <lorl...@gmail.com> writes:
> > Crockford's JavaScript, The Good Parts (a book review).
> > This shall perhaps be the world's shortest book review (for one of the
> > world's
> > shortests books).

> > I like Douglas Crockford (because I am a crabby old man too; plus he
> > _is_
> > smart and good).. But, how can he write a book on the good parts of
> > JavaScript
> > and not mention functions that address CSS & DOM?  Weird.  It's like
> > how to play
> > with things but not address the real things JS is made to play with.
> > With what
> > Crockford talks about we don't have enough to actually  _use_
> > javascript on the
> > web (i.e on the Internet in a browser).

> > Is this a weakness?  Yes.  Damned right.  CSS may not be fully
> > implemented
> > and the DOM is not fully standardized across browsers, but NONE of
> > this is
> > an insurmountable problem _and_ it **_IS_** what JavaScript is all
> > about.

> Good that your post reminded me to get the book. Anyway, Crockford as
> far as I can tell, is fed up with the shoddy way people actualy *code*
> in javascript/ecmascript, and has set out to write a book to teach
> coders how to make effective use of the *language*.

> The language itself does NOT include any CSS, DOM, BOM or whatever,
> and there is at least one fairly popular implementation that doesn't
> address CSS etc at all. See: actionscript.

> Things are not as bad as back in the 90s, but in the whole DOM/CSS/BOM
> bag there is still an unreasonably large lump of compatibility crap to
> deal with, and putting all that into a book about "good coding
> practices" would dilute the good bits probably to the point of making
> them footnotes.

> --
> Joost Diepenmaat | blog:http://joost.zeekat.nl/| work:http://zeekat.nl/- Hide quoted text -

> - Show quoted text -

Hey.  You really are being ridiculous.  The many many JavaScript
functions
for addressing and altering the DOM and addressing an altering CSS
are
_javascript_ functions.   AND, they are what allow much of the
communication
 that is JavaScript in action.  Examples:

GetElementById(string which is element id);
createElement(string which is element type);
[element to appendTo].appendChild(variable representing new element);
document.getElementById(elementName).value = variable or string;
document.getElementById(elementName)style.display = "none";
document.getElementById(elementName).innerHTML = "hi";

Without such stuff there is NO javascript program that actually does
anything
in the browsers.  NOTHING HAPPENS WITHOUT SUCH FUNCTIONS, unless you
are
happy with alerts.  Really.  Get real.


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2010 Google