this post was submitted on 07 Jun 2026
162 points (98.8% liked)

Programmer Humor

42497 readers
14 users here now

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

Rules:

founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] roz@lemmy.blahaj.zone 6 points 1 week ago (2 children)

What's worse, that Python doesn't need semicolons, or that if used, they are ignored? ๐Ÿค”

[โ€“] ViatorOmnium@piefed.social 14 points 1 week ago

They are not ignored, you can use them to put multiple statements in one line

>>> print("poof by counterexample in a python REPL")
poof by counterexample in a python REPL
>>> x = 2; print(x)
2
>>> print("this is not ignored"); print("it's just mostly useless"); print("but you can use as many as you want")
this is not ignored
it's just mostly useless
but you can use as many as you want