this post was submitted on 09 Oct 2026
845 points (97.6% liked)
Programmer Humor
33550 readers
673 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
- If the mod doesn't find it funny, you're banned. Ha-ha!... For real: do not use the community for "statements". There are other places for such content. Keep it chill and funny.
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
python, haskell, lua, typescript, babel, shell (newline), I dunno what else nowadays - the compiler will insert them need be
The reason I dislike the missing of semicolons and brackets is because it causes bugs (that's more of a problem of missing braces to declare the scope of your code) and also takes away control from the programmer.
Missing braces:
I had more than one instance where I accidentally deleted the intendation in a python script that caused undefined behaviour in my code and it took quite a lot of time to track that down. If the programming language would have forced me to properly defined the scope of my code by introducing brackets, that bug would have never been possible.
Semicolons:
The main thing I like about semicolons is that it allows you to properly space out your code over multiple lines for visual clarity. E.g.:
Python should allow this too, since the arguments are being defined inside brackets, but other languages have no similar functionality (e.g. shell, but that is a little bit unfair, since you can't even specify arguments) forcing you to put everything into a single line.
Rust even allows you to leave out the semicolon on the last statement of a code scope in order to return the result of the statement: