+612 9045 4394
 
CHECKOUT
JavaScript : The Good Parts : Unearthing the excellence in JavaScript - D Crockford

JavaScript : The Good Parts

Unearthing the excellence in JavaScript

Paperback Published: 16th May 2008
ISBN: 9780596517748
Number Of Pages: 170

Share This Book:

Paperback

RRP $48.00
$30.25
37%
OFF
In Stock
Enter an Australian post code for delivery estimate

Earn 61 Qantas Points
on this Book

Most programming languages contain good and bad parts, but JavaScript has more than its share of the bad, having been developed and released in a hurry before it could be refined. This authoritative book scrapes away these bad features to reveal a subset of JavaScript that's more reliable, readable, and maintainable than the language as a whole—a subset you can use to create truly extensible and efficient code.

Considered the JavaScript expert by many people in the development community, author Douglas Crockford identifies the abundance of good ideas that make JavaScript an outstanding object-oriented programming language-ideas such as functions, loose typing, dynamic objects, and an expressive object literal notation. Unfortunately, these good ideas are mixed in with bad and downright awful ideas, like a programming model based on global variables.

When Java applets failed, JavaScript became the language of the Web by default, making its popularity almost completely independent of its qualities as a programming language. In JavaScript: The Good Parts, Crockford finally digs through the steaming pile of good intentions and blunders to give you a detailed look at all the genuinely elegant parts of JavaScript, including:

  • Syntax
  • Objects
  • Functions
  • Inheritance
  • Arrays
  • Regular expressions
  • Methods
  • Style
  • Beautiful features
The real beauty? As you move ahead with the subset of JavaScript that this book presents, you'll also sidestep the need to unlearn all the bad parts. Of course, if you want to find out more about the bad parts and how to use them badly, simply consult any other JavaScript book.

With JavaScript: The Good Parts, you'll discover a beautiful, elegant, lightweight and highly expressive language that lets you create effective code, whether you're managing object libraries or just trying to get Ajax to run fast. If you develop sites or applications for the Web, this book is an absolute must.

About the Author

Douglas Crockford is a Senior JavaScript Architect at Yahoo!. He is the maintainer of the JSON format, and a regular speaker at conferences on advanced JavaScript topic. He is also on the JavaScript 2.0 committee at ECMA.

Prefacep. xi
Good Partsp. 1
Why JavaScript?p. 2
Analyzing JavaScriptp. 3
A Simple Testing Groundp. 4
Grammarp. 5
Whitespacep. 5
Namesp. 6
Numbersp. 7
Stringsp. 8
Statementsp. 10
Expressionsp. 15
Literalsp. 17
Functionsp. 19
Objectsp. 20
Object Literalsp. 20
Retrievalp. 21
Updatep. 22
Referencep. 22
Prototypep. 22
Reflectionp. 23
Enumerationp. 24
Deletep. 24
Global Abatementp. 25
Functionsp. 26
Function Objectsp. 26
Function Literalp. 27
Invocationp. 27
Argumentsp. 31
Returnp. 31
Exceptionsp. 32
Augmenting Typesp. 32
Recursionp. 34
Scopep. 36
Closurep. 37
Callbacksp. 40
Modulep. 40
Cascadep. 42
Curryp. 43
Memoizationp. 44
Inheritancep. 46
Pseudoclassicalp. 47
Object Specifiersp. 50
Prototypalp. 50
Functionalp. 52
Partsp. 55
Arraysp. 58
Array Literalsp. 58
Lengthp. 59
Deletep. 60
Enumerationp. 60
Confusionp. 61
Methodsp. 62
Dimensionsp. 63
Regular Expressionsp. 65
An Examplep. 66
Constructionp. 70
Elementsp. 72
Methodsp. 78
Stylep. 94
Beautiful Featuresp. 98
Awful Partsp. 101
Bad Partsp. 109
JSLintp. 115
Syntax Diagramsp. 125
JSONp. 136
Indexp. 147
Table of Contents provided by Ingram. All Rights Reserved.

ISBN: 9780596517748
ISBN-10: 0596517742
Audience: Professional
Format: Paperback
Language: English
Number Of Pages: 170
Published: 16th May 2008
Publisher: John Wiley & Sons Publishers
Country of Publication: US
Dimensions (cm): 23.7 x 18.1  x 0.95
Weight (kg): 0.29

Earn 61 Qantas Points
on this Book