this post was submitted on 04 Apr 2024
369 points (95.8% liked)
Programmer Humor
32483 readers
342 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Folks acting like Python is the only language without semicolons. π
I got tripped up so many time in the last 3 weeks using PHP after years in ML family languages. I am already newlining & itβd be poor style to put more than one statement on a line so what is the point of these semicolons?
Unlike Python, most languages do not endorse a specific concept of style. You're free to dabble in all the bad style choices you like, on the off chance that once in a blue moon they prove to be situationally useful.
With indentation-based languages the bad coding style we are talking about is putting multiple statements on a line or unindenting a block β¦& never has that been something I wanted to do. I would rather this aspect be enforced at the language for readability where there is still room in all other aspects to try out other styles.