paint-brush
What JavaScript code style is the most popularby@sapegin
26,145 reads
26,145 reads

What JavaScript code style is the most popular

by Artem Sapegin2mJanuary 27th, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

There are two big holy war questions about code style in JavaScript: tabs vs. spaces and semicolons vs. no semicolons. Of course there are more, like where to put a comma in a multiline array declaration, but these two are causing the most casualties.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - What JavaScript code style is the most popular
Artem Sapegin HackerNoon profile picture
Artem Sapegin

Artem Sapegin

@sapegin

Web developer, award-losing photographer and dog friend.

About @sapegin
LEARN MORE ABOUT @SAPEGIN'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Artem Sapegin HackerNoon profile picture
Artem Sapegin@sapegin
Web developer, award-losing photographer and dog friend.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite