CHAPTER 9

image

Code Quality

Quality is not an act, it is a habit.

—Aristotle

What does it mean to write quality JavaScript? Can quality be measured, or is it a subjective point of view, akin to the platonic ideals of beauty and art? Programmers tend to oscillate between subjective and objective understandings of quality. They elevate concepts such as software craftsmanship, which is the artisanal approach to writing software. Software craftsmen are described as having superior skill and have distilled their trade down to its essential components. The electrified manifestation of the craftsman is the so-called rock star programmer. One whose definition ...

Get Expert JavaScript now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.