Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
FAQ Topic - What books are recommended for javascript? (2008-12-02)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
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
 
FAQ server  
View profile  
 More options Dec 1 2008, 7:00 pm
Newsgroups: comp.lang.javascript
From: "FAQ server" <javascr...@dotinternet.be>
Date: Tue, 02 Dec 2008 00:00:02 +0000
Local: Mon, Dec 1 2008 7:00 pm
Subject: FAQ Topic - What books are recommended for javascript? (2008-12-02)
-----------------------------------------------------------------------
FAQ Topic - What books are recommended for javascript?
-----------------------------------------------------------------------

Although many books have been reviewed, most are quite bad and
cannot be recommended.

The following list of books been approved by some c.l.js regulars
and has been reviewed and discussed on the list.

_"JavaScript: The Definitive Guide,"_ 5th Edition, By David Flanagan.
ISBN: 0-596-10199-6

http://oreilly.com/catalog/9780596101992/toc.html

http://www.oreilly.com/catalog/jscript5/errata/

_"JavaScript Pocket Reference,"_, By David Flanagan.
ISBN-10: 1565925211, ISBN-13: 978-1565925212

http://oreilly.com/catalog/9780596004118/toc.html

http://oreilly.com/catalog/9780596004118/errata/

--
 Postings such as this are automatically sent once a day.  Their
 goal is to answer repeated questions, and to offer the content to
 the community for continuous evaluation/improvement.  The complete
 comp.lang.javascript FAQ is at http://jibbering.com/faq/index.html.
 The FAQ workers are a group of volunteers.  The sendings of these
 daily posts are proficiently hosted by http://www.pair.com.


 
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.
Peter Michaux  
View profile  
 More options Dec 3 2008, 12:42 am
Newsgroups: comp.lang.javascript
From: Peter Michaux <petermich...@gmail.com>
Date: Tue, 2 Dec 2008 21:42:10 -0800 (PST)
Local: Wed, Dec 3 2008 12:42 am
Subject: Re: FAQ Topic - What books are recommended for javascript? (2008-12-02)
On Dec 1, 4:00 pm, "FAQ server" <javascr...@dotinternet.be> wrote:

Crockford's book is worth mention. It has been "reviewed" and
"discussed" on the group. It is a good book written by a thoughtful
programmer sharing valuable insights.

Peter


 
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.
David Mark  
View profile  
 More options Dec 3 2008, 1:31 am
Newsgroups: comp.lang.javascript
From: David Mark <dmark.cins...@gmail.com>
Date: Tue, 2 Dec 2008 22:31:53 -0800 (PST)
Local: Wed, Dec 3 2008 1:31 am
Subject: Re: FAQ Topic - What books are recommended for javascript? (2008-12-02)
On Dec 3, 12:42 am, Peter Michaux <petermich...@gmail.com> wrote:

I haven't read them, but I wondered how Crockford's books didn't stack
up.  What constitutes a review?

[snip]


 
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.
Discussion subject changed to "FAQ Topic - What books are recommended for javascript? (2008-12-02)" by John G Harris
John G Harris  
View profile  
 More options Dec 3 2008, 3:17 pm
Newsgroups: comp.lang.javascript
From: John G Harris <j...@nospam.demon.co.uk>
Date: Wed, 3 Dec 2008 20:17:57 +0000
Local: Wed, Dec 3 2008 3:17 pm
Subject: Re: FAQ Topic - What books are recommended for javascript? (2008-12-02)
On Tue, 2 Dec 2008 at 21:42:10, in comp.lang.javascript, Peter Michaux
wrote:

  <snip>

>Crockford's book is worth mention. It has been "reviewed" and
>"discussed" on the group. It is a good book written by a thoughtful
>programmer sharing valuable insights.

It's been mentioned but not truly reviewed.

In my opinion the book is too opinionated to be called good. The author
shows several signs that he doesn't understand enough about javascript
and doesn't understand much about the mainstream OO languages.

Even if you don't agree with that you have to agree with what he says in
the preface :
"This is not a book for beginners".

  John
--
John Harris


 
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.
Discussion subject changed to "FAQ Topic - What books are recommended for javascript? (2008-12-02)" by dhtml
dhtml  
View profile  
 More options Dec 6 2008, 3:45 am
Newsgroups: comp.lang.javascript
From: dhtml <dhtmlkitc...@gmail.com>
Date: Sat, 06 Dec 2008 00:45:12 -0800
Local: Sat, Dec 6 2008 3:45 am
Subject: Re: FAQ Topic - What books are recommended for javascript? (2008-12-02)

Peter Michaux wrote:
> On Dec 1, 4:00 pm, "FAQ server" <javascr...@dotinternet.be> wrote:

> Crockford's book is worth mention. It has been "reviewed" and
> "discussed" on the group.

You should post up your review, too.

It is a good book written by a thoughtful

> programmer sharing valuable insights.

Although there are code examples, I do not feel that this book serves as
a guide for how to program javascript.

It contains useful information, but would do better to mention specific
issues with implementation bugs.

Doug advocates modifying built-ins' prototypes.

In particular, he declares Function.prototype.method.

Function.prototype.method = function (name, func) {
     if (!this.prototype[name]) {
         this.prototype[name] = func;
     }

}

The arguments against modifying built-ins' prototypes have been
discussed. For example, it is often said that "don't modify what you
don't own" or "others might not be familiar with your version of a
method (for example, a toFixed method that returns a prepended +/- sign,
or does rounding). Not mentioning such arguments seems biased. Instead,
  the arguments should be presented to the reader.

The book needs more technical review. Here's a little.

pg 39: Explanation of closures:
The "bad" example uses the variable |i|, the "better" example uses the
variable i, but in the body of the function, has |alert(e)|, instead of
|alert(i)|. The changed variable prevents the example from showing that
the explanation is correct.

The book mentions implementation problems with RegExps. If it is going
to mention problems with implementations, it should be much more
thorough about it. In particular, the form of using an identifier in a
FunctionExpression results in JScript interpreting a function expression
and a function declaration which applies to the example of the "function
statement" (I have explained in previous threads why this is the wrong
terminology).

The regular expression part has a mistake.

var parse_number = /^-?\d+(?:\.\d*)?(?:e[+\-]?\d+)?$/i;

Matches all of:
   parse_number.exec('3.');
   parse_number.exec('3.E3');
   parse_number.exec('009.E0');
   parse_number.exec('-0.3');

Pg 55. The explanation of "parts" is a good explanation of the
essentially good part about javascript.

I agree that it is a pretty good book, but could be improved.

Garrett

> Peter

--
comp.lang.javascript FAQ <URL: http://jibbering.com/faq/ >

 
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.
William James  
View profile  
 More options Dec 6 2008, 5:11 am
Newsgroups: comp.lang.javascript
From: "William James" <w_a_x_...@yahoo.com>
Date: Sat, 6 Dec 2008 11:11:09 +0100 (CET)
Local: Sat, Dec 6 2008 5:11 am
Subject: Re: FAQ Topic - What books are recommended for javascript? (2008-12-02)

dhtml wrote:
> > Crockford's book is worth mention. It has been "reviewed" and
> > "discussed" on the group.

> The regular expression part has a mistake.

> var parse_number = /^-?\d+(?:\.\d*)?(?:e[+\-]?\d+)?$/i;

> Matches all of:
>   parse_number.exec('3.');
>   parse_number.exec('3.E3');
>   parse_number.exec('009.E0');
>   parse_number.exec('-0.3');

Using MonkeyScript and jslibs.

LoadModule('jsstd')  // Gives us Print().

// No octal or hex numbers are allowed.
function ok( str )
{ var re =
    /^0$|^[-+]?(?:0\.\d+|[1-9]\d*(?:\.\d+)?)(?:e[-+]?\d+)?$/i
  return !!str.match(re)

}

var s
Print('--- First, the bad.\n')
var bad = '00|3.|3.2.5|3.E3|3e|3e3.2|009.E0|07|.8'.split('|')
for each ( s in bad )
  Print( s, ' ', ok(s), '\n' )
Print( '--- Now, the good.\n')
var good = '0|-0.3|0|9|+3.14|2.72|44e-1|7.5e22'.split('|')
for each (s in good)
  Print( s, ' ', ok(s), '\n' )

--- output ---
--- First, the bad.
00 false
3. false
3.2.5 false
3.E3 false
3e false
3e3.2 false
009.E0 false
07 false
.8 false
--- Now, the good.
0 true
-0.3 true
0 true
9 true
+3.14 true
2.72 true
44e-1 true
7.5e22 true


 
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.
End of messages
« Back to Discussions « Newer topic     Older topic »