O'Reilly logo

Expert JavaScript by Mark E. Daggett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 7

image

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required