Effective JavaScript: 68 Specific Ways to Harness the Power of JavaScript (Effective Software Development Series)

Effective JavaScript: 68 Specific Ways to Harness the Power of JavaScript (Effective Software Development Series)

David Herman

“It’s unusual to have a programming language wonk who can communicate in such cozy and pleasant language as David does. His stroll throughout the syntax and semantics of JavaScript is either fascinating and highly insightful; reminders of gotchas supplement life like use circumstances, paced at a snug curve. You’ll locate should you end the ebook that you’ve won a robust and complete experience of mastery.”

—Paul Irish, developer suggest, Google Chrome


“This isn't really a booklet for these searching for shortcuts; fairly it really is hard-won adventure distilled right into a guided journey. It’s one of many few books on JS that I’ll suggest with out hesitation.”

—Alex Russell, TC39 member, software program engineer, Google


In order to actually grasp JavaScript, you must the best way to paintings successfully with the language’s versatile, expressive good points and the way to prevent its pitfalls. regardless of how lengthy you’ve been writing JavaScript code, Effective JavaScript can assist deepen your realizing of this robust language, so that you can construct extra predictable, trustworthy, and maintainable programs.


Author David Herman, together with his years of expertise on Ecma’s JavaScript standardization committee, illuminates the language’s internal workings as by no means before—helping you are taking complete good thing about JavaScript’s expressiveness. Reflecting the newest types of the JavaScript commonplace, the publication bargains well-proven strategies and top practices you’ll depend on for years to come.


Effective JavaScript is equipped round sixty eight confirmed methods for writing greater JavaScript, sponsored by means of concrete examples. You’ll decide on the perfect programming type for every undertaking, deal with unanticipated difficulties, and paintings extra effectively with each part of JavaScript programming from facts constructions to concurrency. Key positive aspects include

  • Better how one can use prototype-based object-oriented programming
  • Subtleties and suggestions for operating with arrays and dictionary objects
  • Precise and functional causes of JavaScript’s features and variable scoping semantics
  • Useful JavaScript programming styles and idioms, resembling strategies items and procedure chaining
  • In-depth counsel on utilizing JavaScript’s distinctive “run-to-completion” method of concurrency


Show sample text content

Download sample