Categories
books

Effective JavaScript

Effective JavaScript – 68 Specific Ways to Harness the Power of JavaScript, David Herman, 2013

Programmers will want to read this. The foreword by Brendan Eich is interesting, where he discusses the design constraints driving him during the 10 days when he created Javascript.

The book starts with basic usage, discussing ‘truthiness’ and working with integers (they are stored as double floats, which complicates arithmetic).

How does automatic type conversion help you? I.E. ‘do what I mean’. After reading of the surprisingly complex rules you may want to do explicit type conversion.

Where can you leave out semicolons? The author seems to like the idea of leaving out semicolons, but after reading the 7 rules, you may want to ‘always use semicolons’. But it is not as simple as that, because the language will insert semicolons, and if you are not expecting that then your code can be broken.

This book, alongside Resig’s “Javascript Ninja” and Douglas Crockford’s “JavaScript: The Good Parts”, are the three most useful Javascript books.

Get it here at OPL     Amazon Review

Carleton Library     University of Ottawa

Leave a Reply

Your email address will not be published. Required fields are marked *