Comment

Comment by lacker

I would prefer finding a subset of JavaScript in which omitting semicolons is okay. Maybe this could be enforced in a linter. For example, if you never begin statements with [ or (, would it be okay to omit all semicolons?

A semicolon doesn't seem like much but that's a lot of extra typing over the course of a career.

parent lacker 10 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton