Zellwk #01: Should you use semicolons in Javascript? #
2,515 views · Published 3 November 2017 · 3:31 · Indexed 24 October 2026
Channel: Zell Liew · 2017 · People & Blogs
It doesn't matter whether you use semicolons or not in your JavaScript. It is not going to make a big difference in the quality of your code. Personally, I don't use any semicolons in my code because it feels nicer to write JavaScript without it. I used to use semicolons before, and I tried removing it, and I realize its okay. Read this article by Feross if you're interested to find out why you can omit semicolons: https://feross.org/never-use-semicolons/. To help you maintain code consistency, consider using a linter. If you use Sublime Text, you can use Sublime Linter (https://packagecontrol.io/packages/SublimeLinter). If you want to omit semicolons, I suggest you use standard (https://standardjs.com). If you like semicolons, you can try semistandard (https://github.com/Flet/semistandard). To hear more from me, leave your name and email address over at https://zellwk.com and I'll update you whenever I release a new article every Wednesday and a video like this one every Friday. If you have any questions about frontend development, or if you want to say hi, feel free to send me an email at https://zellwk.com/apply Thanks for watching, I'm Zell. Stay awesome and have a nice day.
More from this channel
-
30:17
99u part2
-
3:14
Zellwk #02: Console.log everything!
-
4:50
Zellwk #03: How to debug Javascript errors
-
9:30
Zellwk #04: How to make interactive components
-
15:00
Zellwk#05: How do deal with imposter syndrome?
-
2:00
Thank you! :)
-
7:10
Visual Code Studio setup—Part 3 (extensions)
-
4:12
Experiment publicly