Eloquent JavaScript: A Modern Introduction to Programming and over one million other books are available for Amazon Kindle. Learn more



or
Sign in to turn on 1-Click ordering
Sell Us Your Item
For a $2.50 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Start reading Eloquent JavaScript: A Modern Introduction to Programming on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.
Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 

Eloquent JavaScript: A Modern Introduction to Programming [Paperback]

Marijn Haverbeke
4.2 out of 5 stars  See all reviews (30 customer reviews)

Buy New
$19.03 & FREE Shipping on orders over $25. Details
Rent
$14.79
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
In Stock.
Rented by RentU and Fulfilled by Amazon.
Want it tomorrow, May 22? Choose One-Day Shipping at checkout. Details
Free Two-Day Shipping for College Students with Amazon Student

Formats

Amazon Price New from Used from
Kindle Edition $13.17  
Paperback $19.03  
Amazon.com Textbooks Store
Shop the Amazon.com Textbooks Store and save up to 70% on textbook rentals, 90% on used textbooks and 60% on eTextbooks.

Book Description

February 3, 2011 1593272820 978-1593272821 1

"A concise and balanced mix of principles and pragmatics. I loved the tutorial-style game-like program development. This book rekindled my earliest joys of programming. Plus, JavaScript!" —Brendan Eich, creator of JavaScript

JavaScript is the language of the Web, and it's at the heart of every modern website from the lowliest personal blog to the mighty Google Apps. Though it's simple for beginners to pick up and play with, JavaScript is not a toy—it's a flexible and complex language, capable of much more than the showy tricks most programmers use it for.

Eloquent JavaScript goes beyond the cut-and-paste scripts of the recipe books and teaches you to write code that's elegant and effective. You'll start with the basics of programming, and learn to use variables, control structures, functions, and data structures. Then you'll dive into the real JavaScript artistry: higher-order functions, closures, and object-oriented programming.

Along the way you'll learn to:

  • Master basic programming techniques and best practices
  • Harness the power of functional and object-oriented programming
  • Use regular expressions to quickly parse and manipulate strings
  • Gracefully deal with errors and browser incompatibilities
  • Handle browser events and alter the DOM structure

Most importantly, Eloquent JavaScript will teach you to express yourself in code with precision and beauty. After all, great programming is an art, not a science—so why settle for a killer app when you can create a masterpiece?


Frequently Bought Together

Eloquent JavaScript: A Modern Introduction to Programming + JavaScript: The Good Parts + JavaScript Patterns
Price for all three: $55.75

Buy the selected items together
  • JavaScript: The Good Parts $16.73
  • JavaScript Patterns $19.99


Editorial Reviews

About the Author

Marijn Haverbeke is a programming language enthusiast and polyglot. He's worked his way from trivial BASIC games on the Commodore, through a C++ phase, to the present where he mostly hacks on database systems and web APIs in dynamic languages. He created and maintains several popular open source projects.


Product Details

  • Paperback: 224 pages
  • Publisher: No Starch Press; 1 edition (February 3, 2011)
  • Language: English
  • ISBN-10: 1593272820
  • ISBN-13: 978-1593272821
  • Product Dimensions: 7.1 x 0.8 x 9.2 inches
  • Shipping Weight: 12.8 ounces (View shipping rates and policies)
  • Average Customer Review: 4.2 out of 5 stars  See all reviews (30 customer reviews)
  • Amazon Best Sellers Rank: #37,077 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

It is well written, clear and concise. RichardAlexanderGreen  |  8 reviewers made a similar statement
This is a very good book that I felt enriched my knowledge and is well worth the read. jrebong0  |  3 reviewers made a similar statement
Most Helpful Customer Reviews
73 of 75 people found the following review helpful
5.0 out of 5 stars A Panorama of Possibilities March 23, 2011
By Anthony
Format:Paperback
Javascript is hot.

In the past few years, its popularity has risen quickly, driven by a spreading interest in rich web applications. Lately, the rise of the server side framework Node.js has boosted Javascript's appeal even more.[1] For these reasons, and in the interests of becoming a "full stack"[2] web developer, I investigated multiple resources for learning the language.

I happened upon the Eloquent Javascript[3] website about a year ago. Although it was not quite the quick Javascript tutorial for which I was initially searching, I found that it was something different and in some ways much better.

The book since published is not your typical Javascript book.

Others have a utilitarian approach. An excellent O'Reilly book that I am also using[4] delves into much more detail about the language itself. Language components are presented one by one. An explanation of the syntax is given, then examples are presented. After that, exercises are given to help test the reader's knowledge, then on to the the next topic. This method is pretty standard. It is also effective and thorough (as far as I can tell).

In stark contrast, "Eloquent Javascript" (EJ) does not merely provide you a checklist of things to learn but rather paints a panorama of the possibilities that programming provides. Javascript is merely the tool used to introduce these to the reader. The subtitle, "A Modern Introduction to Programming," clearly states its intentions. This sample, from the introduction, provides a taste:

> In the beginning, at the birth of computing, there were no programming languages. Programs looked something like this:
> 00110001 00000000 00000000
> 00110001 00000001 00000001
> 00110011 00000001 00000010
> etc.

Although EJ does not follow a stepwise evolution of programming from here, it makes sure to lay the foundation for everything taught along the way.

The pace is actually quite fast. From the binary code displayed in the introduction, the book progresses towards very modern, and possibly difficult, concepts. It is something more suited for weeks of study than for several afternoons' reading. In Chapter 1, the reader is introduced to the basics of data types, variables, and program control structures like loops and assignments. By Chapter 5, the reader is being asked to parse text files using map/reduce functions. It's quite a progression, but logical in its execution.

EJ doesn't so much teach you how to _program in Javascript_ as much as it teaches you _how to program_ using Javascript. While doing so, it makes the reader proficient in the use of Javascript itself.

In the latter chapters, the book finally diverts to the topic of programming for the web. The quality of information in those chapters makes it well worth the wait.

I've found that many other resources (meaning books and/or websites) take for granted the basics that comprise web development. I suspect it is because the authors of those works are unfamiliar with the basics themselves. It is far too easy to get an even moderately complex system up and running without a full understanding of how everything works underneath. However, I feel that many details that are taken for granted deserve a more thorough discussion.

In EJ, the author gives programming for the web the same treatment he did programming in the abstract. He lays a foundation covering the fundamentals and then builds upon it, layer by layer. Chapter 9 begins with a definition and example of one simple and very basic HTTP request. From there, he continues on through client side browser manipulation and DOM hacking and then finishes up with a discussion of other types of HTTP requests (e.g. Ajax, etc.) and the HTTP protocol in general.

For me, this is the meat of the book. These three short chapters that contain a concise summary I have been unable to find anywhere else.

Separate from its utility, this book is also a pleasure to read.

The prose is witty and informative without getting in the way. The projects are practical but also fun in their whimsical nature. From Chapter 3 (Data Structure):

> Consider the following situation: Your crazy Aunt Emily, who is rumored
> to have more than 50 cats living with her (you never managed to count
> them), regularly sends you emails to keep you up-to-date on her exploits.
> They usually look like this:

You then spend the rest of the chapter writing programs to decipher Aunt Emily's letters. A later chapter on object-oriented programming has you constructing a virtual terrarium. Both sets of assignments are to the point; both are also fun.

The book is well edited. There are no typos that I have noticed so far, though I seem to find them quite easily in other books I read. The typefaces used are attractive and easy to read. Physically, the book is bound well and is sturdy. The paper is of relatively heavy weight, making it a pleasure to leaf through and useful for note-taking, if the reader is so inclined.

This book is highly functional, just like the material it contains.

Prior to this writing, I had already recommended this author's work to several friends as an excellent introduction to programming. (Full disclosure: This review was written against a free copy of the physical book sent by the publisher. At the time, I had already used and read the online versions, favorably mentioning them online.)

I also highly recommend the book to any programmer looking for a fun and insightful introduction to Javascript and web programming.

[1][...]
[2] By "Full Stack," I mean the ability to program everything from the server side scripting to the client side user interface (and everything in between). As of this writing, Javascript is a necessary portion of this stack.
[3] [...]
[4]"Learning Javascript" by Shelley Powers
Was this review helpful to you?
89 of 94 people found the following review helpful
5.0 out of 5 stars Endorsement from JS creator April 2, 2011
Format:Paperback
A concise and balanced mix of principles and pragmatics. I loved the tutorial-style game-like program development. This book rekindled my earliest joys of programming. Plus, JavaScript!

/be
Comment | 
Was this review helpful to you?
27 of 27 people found the following review helpful
5.0 out of 5 stars I'm really enjoying this book February 7, 2011
By e40
Format:Paperback|Amazon Verified Purchase
The writing style of this book is just excellent. The language is fluid and, I can't believe I'm saying this about a programming language book, enjoyable. There is something about the writing that is a pleasure to read--I wish I could write like this! The examples are quirky and interesting, enough to get you interested in actually solving them and understanding the solutions presented in the book. I've had a very limited understanding of JavaScript in my previous copy and paste uses of it. I felt like I really started to understand it after just a few chapters.
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
5.0 out of 5 stars first time technical reader
I have dreaded reading a technical book for my entire life. This book made me think I have been scared of nothing. Read more
Published 1 month ago by A. Darby
4.0 out of 5 stars Pleasantly Surprised it wasn't trivial
I was recommended this book for an HTML class I was taking at the Big Nerd Ranch. I have 30 years in the programming game, but haven't done much in the browser world since 2000. Read more
Published 2 months ago by Mark Dalrymple
5.0 out of 5 stars This book is great!
The book arrived on time and is very, very helpful. We are using this book in my Programming Languages class and for good reason. I recommend this book!
Published 3 months ago by trevor stephen griggs
3.0 out of 5 stars Not for absolute begginers
I was required to purchase this book for a JavaScript class. This book is not for absolute beginners or those with minimal programming experience. Read more
Published 3 months ago by H. Safronoff
4.0 out of 5 stars More Suited For Beginners
I had picked this up due to the high ratings and good words on how it explained the finer details of the JavaScript language. Read more
Published 6 months ago by Tyler M
3.0 out of 5 stars Enjoyable format with difficult English
The format and environment the author uses to explain and define JavaScript is generally pleasant. To elaborate- I really appreciate how the author weaves in the history of... Read more
Published 7 months ago by Semantics
5.0 out of 5 stars Chapter six alone is worth the price.
I read the HTML version online and decided to buy the book.
It is well written, clear and concise. Read more
Published 7 months ago by RichardAlexanderGreen
4.0 out of 5 stars Good Javascript book
This book starts out at a beginner level but then advances to a more advanced level. He has a couple of projects that he goes through. Read more
Published 10 months ago by Tom
4.0 out of 5 stars Rapid Pace, but Solid Substance
Parts of this book were not easy for me to understand. The examples move quickly and make frequent leaps before explanations are offered. Read more
Published 11 months ago by Jay Martin
5.0 out of 5 stars Read this before you conclude this value of this book
After reading almost all the reviews, they can be generally categorized into two types, beginner in programming/web graphic designers and persons with at least 2-3 years solid... Read more
Published 14 months ago by Kevin Lau
Search Customer Reviews
Only search this product's reviews

What Other Items Do Customers Buy After Viewing This Item?


Forums

There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
Topic:
First post:
Prompts for sign-in
 





Look for Similar Items by Category