Programming Books C Java PHP Python Learn more Browse Programming Books
Maintainable JavaScript and over one million other books are available for Amazon Kindle. Learn more
Buy New
$26.48
Qty:1
  • List Price: $39.99
  • Save: $13.51 (34%)
FREE Shipping on orders over $35.
In Stock.
Ships from and sold by Amazon.com.
Gift-wrap available.
Add to Cart
Trade in your item
Get a $2.00
Gift Card.
Have one to sell? Sell on Amazon
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See all 2 images

Maintainable JavaScript Paperback – June 3, 2012

ISBN-13: 978-1449327682 ISBN-10: 1449327680 Edition: 1st

Buy New
Price: $26.48
40 New from $18.84 14 Used from $11.65
Amazon Price New from Used from
Kindle
"Please retry"
Paperback
"Please retry"
$26.48
$18.84 $11.65

Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student



Frequently Bought Together

Maintainable JavaScript + JavaScript Patterns + JavaScript: The Good Parts
Price for all three: $63.87

Buy the selected items together

NO_CONTENT_IN_FEATURE

Save up to 90% on Textbooks
Rent textbooks, buy textbooks, or get up to 80% back when you sell us your books. Shop Now

Product Details

  • Paperback: 242 pages
  • Publisher: O'Reilly Media; 1 edition (June 3, 2012)
  • Language: English
  • ISBN-10: 1449327680
  • ISBN-13: 978-1449327682
  • Product Dimensions: 9.1 x 7.1 x 0.6 inches
  • Shipping Weight: 14.1 ounces (View shipping rates and policies)
  • Average Customer Review: 4.2 out of 5 stars  See all reviews (18 customer reviews)
  • Amazon Best Sellers Rank: #620,894 in Books (See Top 100 in Books)

Editorial Reviews

Book Description

Writing Readable Code

About the Author

Nicholas C. Zakas is a front-end consultant, author, and speaker. He worked at Yahoo! for almost five years, where he was front-end tech lead for the Yahoo! homepage and a contributor to the YUI library. He is the author of Professional JavaScript for Web Developers (Wrox, 2012), Professional Ajax (Wrox, 2007), and High Performance JavaScript(O’Reilly, 2010). Nicholas is a strong advocate for development best practices including progressive enhancement, accessibility, performance, scalability, and maintainability. He blogs regularly at http://www.nczonline.net/ and can be found on Twitter via @slicknet.


More About the Author

Nicholas C. Zakas is a front-end consultant who specializes in user interface design and implementation for web applications using JavaScript, Dynamic HTML, CSS, XML, and XSLT. Has has 15 years of web development experience and spent nearly five years at Yahoo! in various roles, including principal front end engineer for the Yahoo! homepage and contributor to the Yahoo! User Interface (YUI) library, having written the Cookie Utility, Profiler, and YUI Test.

Nicholas is the author of Professional JavaScript for Web Developers and High Performance JavaScript, a co-author on Professional Ajax, and a contributor to Even Faster Web Sites. He has also written for several online sites such as WebReference, Sitepoint, the YUI Blog, A List Apart, and the Web Performance Advent Calendar.

Nicholas regularly gives talks about web development, JavaScript, and best practices. He has given talks at companies such as Yahoo!, LinkedIn, Google, Netflix, TripAdvisor, and NASA, and conferences such as the Ajax Experience, the Rich Web Experience, OSCON, WebDirections, Fronteers, and Velocity.

Through his writing and speaking, Nicholas seeks to teach others the valuable lessons he's learned while working on some of the most popular and demanding web applications in the world. He firmly believes that no difficult problem should need to be solved more than once.

Customer Reviews

4.2 out of 5 stars
5 star
9
4 star
5
3 star
3
2 star
1
1 star
0
See all 18 customer reviews
Some of the book was familiar to me as I feel experienced with JavaScript.
kevinw
Pros: - Discusses modern techniques like JSHint and require.js - Offers both sides of more controversial techniques like using ASI, etc.
Jamund Ferguson
Aside from that, he has a very good talent for writing technical material.
JML

Most Helpful Customer Reviews

Format: Paperback
"Maintainable JavaScript" by Nicholas Zakas (O'Reilly 2012) is a short-and-sweet little text on (as the cover says) "writing readable code". And by "readable code", Zakas means "code that other developers not named [YOUR NAME] will be able to read and make sense of and ultimately maintain". It goes beyond maintainable and readable code though--Zakas takes us on a tour of how to deliver high-quality JavaScript that is testable and maximally performant in production. If you look at Zakas' catalog, this subject is right in his wheelhouse, and the book reads like either a sequel to his 2010 "High Performance JavaScript (Build Faster Web Application Interfaces)" or else as an expanded version of Chapter 24 of his 2012 "Professional JavaScript for Web Developers" (3rd edition, and still my favorite JS text). It's an opinionated book about formatting style, about programming conventions, and about ways of helping you (and your team) write code that is a lot less likely to blow up on you down the line.

Right off the bat: the target audience for this book is not advanced JavaScript developers. If you are an advanced JavaScript developer (or even many mid-level JS devs) then these are concepts that you are already familiar with. You've already dabbled in a style guide. You already know to minimize global variables. You already know to use feature detection. And there's a good chance you're *at least* linting, if not testing, if not doing both of those things *automatically* as part of your build. If that sounds like you, then you might want to take a pass.
Read more ›
1 Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
3 of 3 people found the following review helpful By Manju on July 5, 2012
Format: Paperback
"Maintainable JavaScript" by Nicholas Zakas (O'Reilly 2012) is a very useful book for programmers who have just started writing javascript code or, for intermediate developers who would like to develop clean and maintainable code. The book is written in a very simple language that is easy to understand and follow.

As the title of the book suggests, the book is aimed at capturing the essential aspects of writing javascript code that is easy to maintain. I liked the flow of the book but I felt that the first few chapters in part 1 could be skipped if the reader is aware of the material.

In part 1 of the book (Style Guidelines), Zakas has given in-depth analysis of styling guidelines to follow that are sometimes skipped when writing large pieces of Javascript code. He touches upon styling guidelines such as: naming conventions, adding comments in the code, understanding the usage of semi-colons etc.,. Some good example use cases and the methodology of using the style guides is presented so that these ideas stick in your mind and become part of the programmers habits.

In part 2 (Programming Practices) - I especially liked the chapter 6 on `avoid global variables' since I have used global variables in my JavaScript but did not think through the caveats of using them. Similar to part 1 of the book, I liked the use cases that the author proposed to describe advantages and disadvantages of several programming aspects that are described in the section. In addition,one of the best described chapters in this section is the material on throwing your own errors (helping you to debug JavaScript code) which I do most of the time using firebug tool on Firefox.
Read more ›
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
2 of 2 people found the following review helpful By attebury on September 4, 2012
Format: Paperback
TL;DR
It's easy to blaze your own coding trail, perhaps particularly so with Javascript. This book provides a comprehensive glimpse into the workflow and practices of an experienced Javascript developer. It's a good read whether you're blazing your own trail or trying to clear one for a group.
####
Maintainable Javascript provides a useful mix of intermediate and advanced Javascript concepts and practices based on widely accepted theory and grounded in the author's real world experience.

The book is broken into 3 sections.
1. Style Guidelines
2. Programming Practices
3. Automation

Style Guidelines
A nice survey of style guidelines found in several libraries and well-known approaches to coding Javascript including JSLint and JSHint.

Programming Practices
Presents a great deal of information from both the author's experience and general theory. I learned something even in the areas in which I was already familiar.

Automation
Convincing arguments for automation with helpful examples.

Maintainable Javascript reads like a worthy sequel to Douglas Crockford's Javascript: The Good Parts.

I reviewed this book as an ePub on the iPad for O'Reilly's Blogger Review Program.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
2 of 2 people found the following review helpful By kevinw on June 18, 2012
Format: Paperback
Some of the book was familiar to me as I feel experienced with JavaScript. The second half of the book is where I really learned some things new. In particular, the build process section was of high interest to me and I really learned a lot from it. I usually keep this book open in .pdf format for quick reference when I need it. If you're serious about your JavaScript, care about your code and having your team stay organized then you should have this book in close reach.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again

Customer Images

Most Recent Customer Reviews

Search

What Other Items Do Customers Buy After Viewing This Item?