this post was submitted on 04 Apr 2024
369 points (95.8% liked)

Programmer Humor

32472 readers
989 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 41 points 7 months ago

I was brought up on C, did a module of Java at uni, and am doing an algorithms course which is python heavy.

My other half - who's quite handy with Python - looks in sheer horror at my code which is littered with semicolons.

I was stumped for half an hour figuring out why the Python interpreter was bouncing an error before it had even reached the main program logic... turns out a { before the block of code royally ruins the interpreter's day.

Still, I live and learn.