Eloquent JavaScript: A Modern Introduction To Programming by Marijn HaverbekeEloquent JavaScript: A Modern Introduction To Programming by Marijn Haverbeke

Eloquent JavaScript: A Modern Introduction To Programming

byMarijn Haverbeke

Paperback | January 15, 2011

Pricing and Purchase Info

$26.23 online 
$34.95 list price
Earn 131 plum® points

Prices and offers may vary in store

Out of stock online

Available in stores


"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!"#151;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 JavaScriptgoes 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 JavaScriptwill 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?

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.
Title:Eloquent JavaScript: A Modern Introduction To ProgrammingFormat:PaperbackDimensions:224 pages, 9 × 7 × 0.77 inPublished:January 15, 2011Publisher:No Starch PressLanguage:English

The following ISBNs are associated with this title:

ISBN - 10:1593272820

ISBN - 13:9781593272821

Look for similar items by category:


Table of Contents

Dedication; Introduction; On Programming; Why Language Matters; What Is JavaScript?; Trying Programs; Overview of This Book; Typographic Conventions; Chapter 1: Basic JavaScript: Values, Variables, and Control Flow; 1.1 Values; 1.2 Variables; 1.3 The Environment; 1.4 Program Structure; 1.5 More on Types; Chapter 2: Functions; 2.1 The Anatomy of a Function Definition; 2.2 Techniques; Chapter 3: Data Structures: Objects and Arrays; 3.1 The Problem: Aunt Emily's Cats; 3.2 Basic Data Structures; 3.3 Solving the Problem of Aunt Emily's Cats; 3.4 Some More Theory; Chapter 4: Error Handling; 4.1 Types of Problems; 4.2 Handling Errors; 4.3 Automated Testing; Chapter 5: Functional Programming; 5.1 Abstraction; 5.2 Higher-Order Functions; 5.3 The Sad Story of the Recluse; 5.4 Other Functional Tricks; Chapter 6: Object-Oriented Programming; 6.1 Objects; 6.2 Building an Ecosystem Simulation; 6.3 A More Lifelike Simulation; 6.4 Prototypal Inheritance; Chapter 7: Modularity; 7.1 Modules; 7.2 The Shape of a Module; 7.3 Interface Design; 7.4 Libraries; Chapter 8: Regular Expressions; 8.1 Syntax; 8.2 Matching and Replacing; 8.3 Parsing an .ini File; 8.4 Conclusion; Chapter 9: Web Programming: A Crash Course; 9.1 The Internet; 9.2 Basic Web Scripting; 9.3 Browser Incompatibility; 9.4 Further Reading; Chapter 10: The Document Object Model; 10.1 DOM Elements; 10.2 Style Sheets; 10.3 Word of Caution; Chapter 11: Browser Events; 11.1 Event Handlers; 11.2 Example: Implementing Sokoban; Chapter 12: HTTP requests; 12.1 The HTTP Protocol; 12.2 The XMLHttpRequest API; 12.3 Learning HTTP; Colophon; Updates;