March 2014
Intermediate to advanced
260 pages
6h 31m
English
Content preview from Client-Server Web Apps with JavaScript and JavaBecome 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,
Start your free trial

Chapter 8. API Design
In theory, there is no difference between theory and practice. But, in practice, there is.
—Author Unknown
There are two basic ways to solve problems: start with a comprehensive theory and work out the details, or start with particular facts and develop a theory that ties them together. “Detail people” derive solutions by studying the minutiae of a particular problem. “Big-picture people” fit problems into categories that relate to their overarching theories. Each approach has value, and much problem-solving involves adeptly switching between them.