this post was submitted on 06 Jun 2026
16 points (90.0% liked)
Technology
85243 readers
4281 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related news or articles.
- Be excellent to each other!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
- Check for duplicates before posting, duplicates may be removed
- Accounts 7 days and younger will have their posts automatically removed.
Approved Bots
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
No, talking about semicolons and tabs and spaces for the umpteenth time is not how we build real skills, and you shouldn't waste your time "thinking" about it. You should run a linter that will format it for you and you should choose formatting rules that everyone working on the codebase in the future would be mostly OK with. Splitting hairs about when to insert a semicolon ain't it.
To expand on this: Ideally you would work in a language you didn't have these inane rules about semicolons, like the article is obviously good and correct, but it's just not something that anyone should have to think about, it doesn't lead to better programs.
There's a lot of room for criticism of JavaScript, but this ain't it.
Just use semicolons at the end of a statement and it's simple. There are only inane rules about it if you're trying to skip semicolons, and why the fuck should anyone bother with that?
The inane thing is being able to skip semicolons. Exactly, why should anyone bother with that. We wouldn't have this conversation. So yes, this is valid criticism of JavaScript, it's not a very important one at all, but still.
You say thats not valid criticism, but yet I can't think of another language that has a debate over semicolons.
Maybe that's just me not be exposed in my career to more ones like that, and there are still petty squables in every language yes.
But the fact you have to have the second paragraph, and defend it, is the problem your replying to. something so core to a language like line ending syntax, is figured out in all other laugauges. You don't have to mentally be prepared to unfril that layer of syntax.
rabbles in statically typed laguages
There's no debate. You've made it up.
I wish I had the luxury of not working with JavaScript... but sadly it's still the only game in town on the web.
There are languages that compile into JS or WebAssembly, might be worth to look at that. I like Clojurescript, but others are also good.