Eloquent JavaScript, 2nd Ed.: A Modern Introduction to Programming

Eloquent JavaScript, 2nd Ed.: A Modern Introduction to Programming

by Marijn Haverbeke

Paperback

$35.96 $39.95 Save 10% Current price is $35.96, Original price is $39.95. You Save 10%.
View All Available Formats & Editions
Eligible for FREE SHIPPING
  • Want it by Friday, October 26?   Order by 12:00 PM Eastern and choose Expedited Shipping at checkout.
    Same Day shipping in Manhattan. 
    See Details

Overview

Eloquent JavaScript, 2nd Ed.: A Modern Introduction to Programming by Marijn Haverbeke

JavaScript lies at the heart of almost every modern web application, from social apps to the newest browser-based games. Though simple for beginners to pick up and play with, JavaScript is a flexible, complex language that you can use to build full-scale applications.

Eloquent JavaScript, 2nd Edition dives deep into the JavaScript language to show you how to write beautiful, effective code. Author Marijn Haverbeke immerses you in example code from the start, while exercises and full-chapter projects give you hands-on experience with writing your own programs. As you build projects such as an artificial life simulation, a simple programming language, and a paint program, you’ll learn:
–The essential elements of programming, including syntax, control, and data
–How to organize and clarify your code with object-oriented and functional programming techniques
–How to script the browser and make basic web applications
–How to use the DOM effectively to interact with browsers
–How to harness Node.js to build servers and utilities

This edition is thoroughly revised and modernized to reflect the current state of Java­Script and web browsers, with brand-new material, such as a chapter on code performance in Java­Script, and expanded coverage of recursion and closures. All source code is available online in an inter­active sandbox, where you can edit the code, run it, and see its output instantly.

Isn’t it time you became fluent in the language of the Web?

Includes an exclusive chapter, only available in the No Starch Press edition!

Product Details

ISBN-13: 9781593275846
Publisher: No Starch Press
Publication date: 12/11/2014
Pages: 472
Sales rank: 121,704
Product dimensions: 7.00(w) x 9.20(h) x 1.20(d)

About the Author

Marijn Haverbeke is an independent developer and author, focused primarily on programming languages and tools for programmers. He spends most of his time working on open source software, such as the CodeMirror editor and the Tern type inference engine.

Table of Contents

Introduction
Part I: Language
Chapter 1: Values, Types, and Operators
Chapter 2: Program Structure
Chapter 3: Functions
Chapter 4: Data Structures: Objects and Arrays
Chapter 5: Higher-Order Functions
Chapter 6: The Secret Life of Objects
Chapter 7: Project: Electronic Life
Chapter 8: Bugs and Error Handling
Chapter 9: Regular Expressions
Chapter 10: Modules
Chapter 11: Project: A Programming Language
Part II: Browser
Chapter 12: JavaScript and the Browser
Chapter 13: The Document Object Model
Chapter 14: Handling Events
Chapter 15: Project: A Platform Game
Chapter 16: Drawing on Canvas
Chapter 17: HTTP
Chapter 18: Forms and Form Fields
Chapter 19: Project: A Paint Program
Part III: Node
Chapter 20: Node.js
Chapter 21: Project: A Skill-Sharing Website
Chapter 22: JavaScript and Performance (Exclusive to the No Starch Press edition!)

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews

Eloquent JavaScript, 2nd Ed.: A Modern Introduction to Programming 3.3 out of 5 based on 0 ratings. 3 reviews.
Clea_Taylor 7 months ago
I was very excited to dive into this book at first. I had completed some interactive courses on JavaScript before, but wanted something that would give me more in depth knowledge of the language. I skimmed through the first chapter at a Barnes and Noble store after having read review of it online. I ended up buying it and took it home immediately to start working through it, while using the online code sandbox to complete the exercises at the end of each chapter. The first 3 chapters were great and I felt like I was really getting the hang of the language. Then came the 4th chapter and the difficulty level increased dramatically. Also, it seemed the author got lazy with explaining things step-by-step, and the syntax he was using seemed to come out of nowhere. By the 5th chapter I was completely lost with 80% of the book still to go. Early on in the introduction of the book, the author makes a point to stress how important it is to fully understand each and every example and exercise before advancing. However, he offers absolutely no explanation for how he arrives at his solutions to the exercises, and the examples are largely left up to the reader to decipher. Overall I felt like I had been scammed. Unless you already have a good grasp on JavaScript, this book is not for you.
sheriffderek More than 1 year ago
I think this book is really great, but I also felt like there were some big snags for me. I'm not a mathematician. I had this "WOW finally a book that speaks my language" feeling at first. It's telling a compelling story that is fun and also actually very practical - but when the 5th or so chapter comes around - you are given some semi-complex math (maybe not for most) - but it become a black box for me that doesn't seem appropriate for beginners - or, in my case, someone who has been writing JS for years. I think all of the concepts for JS could have been described with a different example that was more general. I'd be using python if I wanted to do math. It doesn't ramp up gradually and instead(1-10) jumps from 3 to 7 early on. If you can make the jump - this is one of the best books there is. The exercises are a big bonus to test your skills as you go. They are pretty specific milestones as opposed to repetitious practice problems - and well thought out. Basically, don't move on - if you can't nail them with confidence. Read the chapter over again.
Brently More than 1 year ago
This, for me, is the definitive introduction to Javascript for the neophyte programmer. It helps if one has been exposed to a programming tutorial or two, or has dabbled at programming. Three things make this book so very good. First, Marijn communicates more clearly than most authors. Second, he doesn't avoid an intuitive description of how things work--theory--just so that he can show you some recipes for getting stuff done. Third, he still does provide some very good recipes that you will actually understand, because let's face it, you're going to want to show a friend or colleague what you've learned, and printing some plain text to the console just ain't gonna impress your friend. Martin gives you the stuff to actually create something that you will be proud to say of, "I made this"!