max-mapper / art-of-node

:snowflake: a short introduction to node.js
https://github.com/maxogden/art-of-node#the-art-of-node
Other
9.81k stars 854 forks source link

Semicolons (not really an issue) #6

Closed matthewpalmer closed 11 years ago

matthewpalmer commented 11 years ago

I was just wondering why you don't use semicolons? I'm fairly new to node, so thanks a lot for making this book. You do a great job of explaining things in a simple, practical way. Thank you!

max-mapper commented 11 years ago

hiya, thanks for the question.

semicolons are a style choice. some people are scared that they caused bugs but in all my JS programming i've never had any issues not using them. there are 3 or 4 situations where you have to use them but they are easy to remember

matthewpalmer commented 11 years ago

Interesting - I've never heard that before. Thanks for answering :)