Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #26429

Re: Found anb example in a bok but foreachIn does not exist

Newsgroups comp.lang.javascript
Date 2015-01-01 22:23 -0800
References <m8185d$urk$1@dont-email.me> <XnsA414C8AE52A3Beejj99@194.109.133.133>
Message-ID <51b894e7-a370-4e09-9131-ffddab601bbc@googlegroups.com> (permalink)
Subject Re: Found anb example in a bok but foreachIn does not exist
From Scott Sauyet <scott.sauyet@gmail.com>

Show all headers | View raw


Evertjan. wrote:
> Tony Johansson wrote: 
> 
>> Here is a function that I have found in a book called "Eloquent
>> JavaScript" but  forEachIn does not exist in JavaScript.
>> How would I changed it so that it works. 
> 
> Eloquence isn't a sign of quality.

I disagree.  Eloquence is not definitive proof of quality, but it
is one useful sign.

But beyond that, do you have a substantive critique of the book?

I've used it to help teach beginning JS programmers.  I think it's
one of the better ones around.  I don't remember seeing any reviews
of it here, but I have not been paying very much attention for the
last year.

Have you read it?  At least some versions of it are freely available
on the web.


> If a function in such a book does not "work",
> the best thing to do is 
> 
> 1 to throw the book away,
> probably you can still do this this year.
> 
> 2 define what you want such new function to do.
> 
> 2 build this function from scratch.

3. Look for earlier definitions in the book for the missing parts.

Christoph M. Becker's response has already done that for the OP.  Such
a response is more informative and IMHO better for the group than a 
snide disparagement of the book in question.

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Found anb example in a bok but foreachIn does not exist "Tony Johansson" <johansson.andersson@telia.com> - 2014-12-31 17:27 +0100
  Re: Found anb example in a bok but foreachIn does not exist "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-12-31 19:43 +0100
    Re: Found anb example in a bok but foreachIn does not exist Scott Sauyet <scott.sauyet@gmail.com> - 2015-01-01 22:23 -0800
      Re: Found anb example in a bok but foreachIn does not exist "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-01-02 09:28 +0100
        Re: Found anb example in a bok but foreachIn does not exist "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2015-01-02 07:14 -0800
          Re: Found anb example in a bok but foreachIn does not exist "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-01-03 00:19 +0100
        Re: Found anb example in a bok but foreachIn does not exist Scott Sauyet <scott.sauyet@gmail.com> - 2015-01-02 08:12 -0800
          Re: Found anb example in a bok but foreachIn does not exist "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-01-02 17:52 +0100
          Re: Found anb example in a bok but foreachIn does not exist "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-01-03 00:04 +0100
      Re: Found anb example in a bok but foreachIn does not exist "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2015-01-02 07:06 -0800
  Re: Found anb example in a bok but foreachIn does not exist "Christoph M. Becker" <cmbecker69@arcor.de> - 2014-12-31 19:56 +0100

csiph-web