this post was submitted on 13 Oct 2023
328 points (95.8% liked)

Programmer Humor

38167 readers
299 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
[–] nautilus 49 points 2 years ago (4 children)

mfw my face when the go compiler fucking screams at me because I dared to declare a variable and not use it

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

"Don't worry too much about your loops bro, I am the apex of computer science research, I know every optimization in the book." Ok want to compile this? "Is that... An unused variable?!? WHAT THE FUCK ARE WE GOING TO DO GOD IS DEAD"

[–] nautilus 2 points 2 years ago

honestly my dumb ass will choose for i in list: over for i := range slice { every single time. I’m ugly and I’m proud!

load more comments (2 replies)