Maintainable JavaScript: Writing Readable Code by Nicholas C. Zakas
Maintainable JavaScript: Writing Readable Code
Author: Nicholas C. Zakas
Title: Maintainable JavaScript: Writing Readable Code
ISBN10: 1449327680
ISBN13: 978-1449327682
Format: .PDF .EPUB .FB2
Publisher: O'Reilly Media; 1 edition (June 3, 2012)
Language: English
Size pdf: 1889 kb
Size epub: 1358 kb
Rating: 4.3 ✪
Votes: 284
Category: Computers & Technology
Subcategory: Programming

You may have definite ideas about writing code when working alone, but team development requires that everyone use the same approach. With the JavaScript practices in this book—including code style, programming tips, and automation—you will learn how to write maintainable code that other team members can easily understand, adapt, and extend.

Author Nicholas Zakas assembled this collection of best practices as a front-end tech leader at Yahoo!, after completing his own journey from solo hacker to team player. He also includes rules recommended by other industry authorities. Use these tips and techniques to help your team set aside individual preferences and function at a higher level.

  • Establish specific code conventions for your team
  • Use tools such as JSLint and JSHint to keep your team on track
  • Adopt style guidelines, such as basic formatting, to help your team produce uniform code
  • Apply several programming practices to solve problems and improve code quality
  • Create an automated JavaScript build system using a variety of utilities
  • Integrate browser-based JavaScript testing with tools such as the YUI Test Selenium Driver