this post was submitted on 20 Jul 2023
245 points (88.4% liked)

Programmer Humor

33280 readers
475 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 17 comments
sorted by: hot top controversial new old
[–] [email protected] 103 points 2 years ago (2 children)

Sounds like he needs a better IDE.

[–] [email protected] 51 points 2 years ago

Or he just needs to read the compiler output.

[–] [email protected] 6 points 2 years ago (2 children)
[–] [email protected] 4 points 2 years ago

Yeah, then you just have to worry about missing whitespace, instead lol

[–] [email protected] 2 points 2 years ago* (last edited 2 years ago)

Python is not very good at this. TypeScript with prettier will very often add missing commas or semi colons for me. I never have to worry about whitespace before the formatter comes into play.

Python's whitespacing felt nice in the days when there wasn't a ton of tooling around auto formatting but now it feels like a burden.

[–] [email protected] 53 points 2 years ago (2 children)

I've been programming with lots of dumb people, and I'm particularly dumb myself, but if you really literally spend hours looking for missed semicolons, then you should give up programming no matter if this means more time for date nights or more time to look at the wall.

[–] [email protected] 21 points 2 years ago* (last edited 2 years ago)

I dunno, back in the old PHP days (like the really shitty PHP) if you missed a semicolon on an included file, and that file was included in another file, and some dumbass included that in the middle of some other file, you would spend hours looking for it because the error showed it missing in the top-most file.

[–] [email protected] 8 points 2 years ago

I have been in the unfortunate position of spending hours looking for a semi colon. Well I was looking for a bug, I didn't know it was a missing semi colon. But it was my first internship after doing one CS class and I was writing PHP.

[–] mildsauce 24 points 2 years ago

oh great, these stupid "missing semicolon" jokes have made their way here from the old place that shall not be named.

[–] [email protected] 18 points 2 years ago

Just check the damn log man

[–] [email protected] 15 points 2 years ago* (last edited 2 years ago)

This is why you're polyamorous. When partner #1 is coding and partner #2 is high on coke with their salesbros, you can snuggle with partner #3 who's sleepy and retired.

[–] [email protected] 13 points 2 years ago

This joke is bad and you should feel bad

[–] [email protected] 7 points 2 years ago (1 children)

Missing semicolon? Is he retarded?

[–] [email protected] 1 points 2 years ago
[–] [email protected] 4 points 2 years ago

I remember what it was like to be in my first intro to programming class...

[–] [email protected] 2 points 1 year ago

Nobody thinks that she should just take a hint...

[–] [email protected] 2 points 2 years ago

It's 2023 now, all you gotta do is paste your code into GPT and ask it to fix it for you!

load more comments
view more: next ›