Maintainable JavaScript

By Nicholas C. Zakas

Maintainable JavaScript - Nicholas C. Zakas
  • Release Date: 2012-05-10
  • Genre: Programming

Description

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 teamUse tools such as JSLint and JSHint to keep your team on trackAdopt style guidelines, such as basic formatting, to help your team produce uniform codeApply several programming practices to solve problems and improve code qualityCreate an automated JavaScript build system using a variety of utilitiesIntegrate browser-based JavaScript testing with tools such as the YUI Test Selenium Driver