Eloquent JavaScript, 2nd Edition – A Modern Introduction to Programming by Marijn Haverbeke

Eloquent JavaScript, 2nd Edition - A Modern Introduction to Programming by Marijn Haverbeke

JavaScript is at the heart of almost every modern Web application, whether it’s Google Apps, Twitter, or the newest browser-based game. Though it’s simple for beginners to pick up and play with, JavaScript is not a toy—it’s a flexible, complex language that you can use to build full-scale applications.

Eloquent JavaScript, 2nd Edition dives into the language and teaches you to write beautiful, effective code. By immersing you in example code and encouraging experimentation right from the start, the author quickly provides the tools you need to build your own programs. As you follow along with examples like an artificial life simulation, a simple programming language, and a platform game, you’ll learn to:

  •     Understand the essential elements of programming: syntax, control, and data
  •     Organize and clarify your code with object-oriented and functional programming techniques
  •     Script the browser and make basic Web applications
  •     Harness node.js to build servers and utilities
  •     Use the DOM effectively to interact with browsers

This new edition is thoroughly revised and modernized, and it’s full of brand-new material, including expanded content on recursion, closures, and more. All source code is available online in an interactive sandbox and has been updated to follow current JavaScript idioms. With Eloquent JavaScript, 2nd Edition as your guide, you’ll be fluent in the language of the Web before you know it.

——————————————————————————-

About the Author

Marijn Haverbeke is an independent developer and author, focusing mostly 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 for JavaScript.

——————————————————————————-
Table of Contents

Introduction
1: Values, Types, and Operators
2: Program Structure
3: Functions
4: Data Structures: Objects and Arrays
5: Higher-order Functions
6: The Secret Life of Objects
7: Project: Electronic Life
8: Bugs and Error Handling
9: Regular Expressions
10: Modules
11: Project: A Programming Language
12: JavaScript and the Browser
13: The Document Object Model
14: Handling Events
15: Project: A Platform Game
16: Drawing on Canvas
17: HTTP
18: Forms and Form Fields
19: Project: A Paint Program

Read It Online | Paper Version

Leave a Reply

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