478
you are viewing a single comment's thread
view the rest of the comments
[-] dingleberry@discuss.tchncs.de 111 points 1 year ago

I have a sneaking suspicion that most memes are from CS students, it all makes sense. People with jobs don't have time to make memes, get angsty about languages, or syntax issues.

[-] flamingo_pinyata@sopuli.xyz 7 points 1 year ago

After 10 years of doing it for work, I still get frustrated about language issues.

But semicolons? It's 2023, why does your language have semicolons at all? If you're one of those poor sods stuck with Java, still it's not an issue, all IDEs will warn you, and basically complete half the code for you.

[-] nathris@lemmy.ca 1 points 1 year ago

Semicolons are optional in JavaScript unless you are combining multiple statements on a single line, which is generally not something you should be doing anyway.

I avoid them whenever possible. It encourages people to write poorly formatted code. But then I'm a python dev so I tend to be opinionated when it comes to whitespace.

[-] folkrav@lemmy.world 3 points 1 year ago* (last edited 1 year ago)

Just slap a formatter on there and call it a day. Semicolon or not, IDGAF, let's just stop with the formatting bikeshedding. There are more important things to think about. They don't encourage anything if you don't think about formatting.

[-] aaaa@lemmy.world 1 points 1 year ago

This is one of the things I like most about Go. Formatting is already defined and handled by go fmt. Takes out all format arguments before they start.

load more comments (6 replies)
load more comments (24 replies)
this post was submitted on 15 Oct 2023
478 points (95.6% liked)

Programmer Humor

32481 readers
349 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS