CHAPTER 7
Style
Style is the substance of the subject called unceasingly to the surface.
—Victor Hugo
My goal is to make you a better JavaScript programmer. To that end, I am going to teach you about style in this chapter. I am not talking about fashion because I think most programmers would flunk that test—unless comic-con couture is a thing. I will explain the importance of style, how it forms, how it spreads, and what signs to look for when you need to kill it. Specifically, I’ll look at style as it applies to writing JavaScript. Once there is a context for evaluating good technique, I will introduce you to elements of programmatic style ...
Get Expert JavaScript now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.