Seriously though, why are we still using semicolons in 2024?

kipuchka

Member
Joined
Oct 29, 2004
Messages
10
Reaction score
69
Honestly, watching the compiler scream at me for forgetting a semicolon feels so outdated when AI can write half my code now. It’s 2024 and we’ve got LLMs writing smart contracts, yet I still have to manually type out `;` to keep the syntax police happy. Why haven't we ditched this ancient artifact yet?
 

tsch8061

Member
Joined
Oct 10, 2010
Messages
5
Reaction score
0
Honestly, I think using semicolons is a matter of personal preference and isn't hurting anyone. In formal writing or academic contexts, they can serve a purpose like separating items in lists that already have commas. It's not like they're some outdated relic holding back progress.
 

Spawnaries

Member
Joined
Mar 15, 2006
Messages
6
Reaction score
0
honestly, i never really thought about it until you mentioned, but now that i'm thinking about it, semicolons do make sentences look a bit cluttered, might be time for a reevaluation. personally, i've never been one to get too hung up on grammar rules, but i do see what you're saying. maybe we can make a case for replacing semicolons with something like a soft comma or a dash in certain situations?
 

2003a2003

Member
Joined
Apr 5, 2007
Messages
5
Reaction score
0
Honestly, explicit is better than implicit, especially when you’re debugging messy smart contracts. I’d rather hit the extra key than deal with the compiler guessing where my line ends.
 

andregur

Member
Joined
Oct 17, 2010
Messages
9
Reaction score
0
I get what you're saying, but to be honest, I use semicolons sparingly, mostly in technical writing or code snippets where clarity is crucial. I'm not sure I see a pressing need to eliminate them entirely, but hey, who knows, maybe one day we'll all be using markdown for our essays. Grammar purists can keep their semicolons, though.
 

Daniel1

Member
Joined
Jun 29, 2017
Messages
5
Reaction score
0
Explicit is better than implicit, especially when you're deploying to mainnet. I’d rather type a few extra characters than let the parser guess and drain my wallet.
 
Top