Preface
Patterns are solutions to common problems. One step further, patterns are templates for solving categories of problems.
Patterns help you split a problem into Lego-like blocks and focus on the unique parts of the problem while abstracting out a lot of “been there, done that, got the T-shirt” kind of details.
Patterns also help us communicate better by simply providing a common vocabulary.
It’s therefore important to identify and study patterns.
Target Audience
This book is not a beginner’s book; it’s targeted at professional developers and programmers who want to take their JavaScript skills to the next level.
Some of the basics (like loops, conditionals, and closures) are not discussed at all. If you find you need to brush up on some of those topics, refer to the list of suggested reading.
At the same time, some topics (such as object creation or hoisting) may look too basic to be in this book, but they are discussed from a patterns perspective and, in my opinion, are critical to harnessing the power of the language.
If you’re looking for best practices and powerful patterns to help you write better, maintainable, robust JavaScript code, this book is for you.
Conventions Used in This Book
The following typographical conventions are used in this book:
- Italic
Indicates new terms, URLs, email addresses, filenames, and file extensions.
Constant widthUsed for program listings, as well as within paragraphs to refer to program elements such as variable or function names, databases, data types, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access