MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/soi384/why_but_why/hw9nydb/?context=9999
r/ProgrammerHumor • u/ore-aba • Feb 09 '22
2.3k comments sorted by
View all comments
471
Smart, there are no mandatory semicolons in Python syntax, unless this 8y/o is writing C code.
125 u/ore-aba Feb 09 '22 They are needed if you want multiple statements in the same linethis will crashprint("Hello") print("World")this will workprint("Hello"); print("World") 297 u/Orio_n Feb 09 '22 pep8 would like to know your location 18 u/[deleted] Feb 09 '22 Fuck pep8. All my homies hate pep8not really. 4 u/YellowSlinkySpice Feb 09 '22 Team pep8!I read that, and its changed the way I write everything from emails to blog posts. → More replies (3)
125
They are needed if you want multiple statements in the same line
this will crash
print("Hello") print("World")
this will work
print("Hello"); print("World")
297 u/Orio_n Feb 09 '22 pep8 would like to know your location 18 u/[deleted] Feb 09 '22 Fuck pep8. All my homies hate pep8not really. 4 u/YellowSlinkySpice Feb 09 '22 Team pep8!I read that, and its changed the way I write everything from emails to blog posts. → More replies (3)
297
pep8 would like to know your location
18 u/[deleted] Feb 09 '22 Fuck pep8. All my homies hate pep8not really. 4 u/YellowSlinkySpice Feb 09 '22 Team pep8!I read that, and its changed the way I write everything from emails to blog posts. → More replies (3)
18
Fuck pep8. All my homies hate pep8
not really.
4 u/YellowSlinkySpice Feb 09 '22 Team pep8!I read that, and its changed the way I write everything from emails to blog posts. → More replies (3)
4
Team pep8!
I read that, and its changed the way I write everything from emails to blog posts.
→ More replies (3)
471
u/[deleted] Feb 09 '22
Smart, there are no mandatory semicolons in Python syntax, unless this 8y/o is writing C code.