Browsing Tag

javascript patterns

The Essentials of Writing High Quality JavaScript

The Essentials of Writing High Quality JavaScript

Twice a month, we revisit some of our readers’ favorite posts from throughout the history of Nettuts+. This tutorial was first published in October, 2010.

The brilliant Stoyan Stefanov, in promotion of his book, “JavaScript Patterns,” was kind enough to contribute an excerpt of the book for our readers, which details the essentials of writing high quality JavaScript, such as avoiding globals, using single var declarations, pre-caching length in loops, following coding conventions, and more.

Updated: 10 Free Copies of “JavaScript Patterns” from O’Reilly Books

Updated: 10 Free Copies of “JavaScript Patterns” from O’Reilly Books

Not only was Stoyan Stefanov nice enough to submit an excerpt of his book, JavaScript Patterns, to Nettuts+, but we also have ten digital copies available to give away to our community! Personally, I’m roughly 75% finished with the book, and it’s fantastic. Similar to his previous book, “Object-Oriented JavaScript,” Stoyan has an uncanny ability to make high level techniques and concepts as easy as possible to understand. Even if you don’t win a copy, “JavaScript Patterns” receives my highest recommendation.