Eloquent JavaScript: A Modern Introduction to Programming

( 3 )

Overview

"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...

See more details below
Paperback
$22.62
BN.com price
(Save 24%)$29.95 List Price

Pick Up In Store

Reserve and pick up in 60 minutes at your local store

Other sellers (Paperback)
  • All (20) from $8.20   
  • New (11) from $11.13   
  • Used (9) from $8.20   
Eloquent JavaScript: A Modern Introduction to Programming

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK 7.0
  • Samsung Galaxy Tab 4 NOOK 10.1
  • NOOK HD Tablet
  • NOOK HD+ Tablet
  • NOOK eReaders
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$13.49
BN.com price
(Save 43%)$23.95 List Price

Overview

"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?

Read More Show Less

Product Details

  • ISBN-13: 9781593272821
  • Publisher: No Starch Press San Francisco, CA
  • Publication date: 2/25/2011
  • Edition number: 1
  • Pages: 224
  • Sales rank: 955,343
  • Product dimensions: 7.00 (w) x 9.20 (h) x 0.70 (d)

Meet 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.

Read More Show Less

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;

Read More Show Less

Customer Reviews

Average Rating 3.5
( 3 )
Rating Distribution

5 Star

(2)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(1)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing 1 – 2 of 3 Customer Reviews
  • Posted January 22, 2015

    This, for me, is the definitive introduction to Javascript for t

    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"!

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted December 15, 2014

    No text was provided for this review.

Sort by: Showing 1 – 2 of 3 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)