this post was submitted on 20 Jul 2023
242 points (88.5% liked)

Programmer Humor

32566 readers
260 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
[–] XaeroDegreaz 103 points 1 year ago (2 children)

Sounds like he needs a better IDE.

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

Or he just needs to read the compiler output.

[–] [email protected] 6 points 1 year ago (2 children)
[–] XaeroDegreaz 4 points 1 year ago

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

[–] betternotbigger 2 points 1 year ago* (last edited 1 year 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] 48 points 1 year 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.

[–] tj111 20 points 1 year ago* (last edited 1 year 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 1 year 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.

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

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

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

Just check the damn log man

[–] thenofootcanman 15 points 1 year ago

This joke is bad and you should feel bad

[–] fubo 15 points 1 year ago* (last edited 1 year 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] 7 points 1 year ago (1 children)

Missing semicolon? Is he retarded?

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

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

[–] rollerbang 2 points 1 year ago

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

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

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