Eloquent JavaScript: A Modern Introduction to Programming
- 3h 43m
- Marijn Haverbeke
- No Starch Press
- 2011
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?
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.
In this Book
-
Eloquent JavaScript—A Modern Introduction to Programming
-
Basic JavaScript: Values, Variables, and Control Flow
-
Functions
-
Data Structures: Objects and Arrays
-
Error Handling
-
Functional Programming
-
Object-Oriented Programming
-
Modularity
-
Regular Expressions
-
Web Programming: A Crash Course
-
The Document Object Model
-
Browser Events
-
HTTP requests