mfw my face when the go compiler fucking screams at me because I dared to declare a variable and not use it
this post was submitted on 13 Oct 2023
1 points (100.0% liked)
Programmer Humor
35292 readers
94 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
"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"
int unused_variable = 0;
Dude wtf is your problem don’t just leave things lying about there don’t you know how to code I mean what the- I don’t go to your house and leave shit on the floor and just—
int _unused_variable = 0;
Ok. We cool.