this post was submitted on 27 Mar 2024
916 points (98.2% liked)

Programmer Humor

18255 readers
480 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] treechicken 24 points 3 months ago (3 children)

...and then there's Go who just won't let you compile at all

[–] dvlsg 36 points 3 months ago (1 children)

Just enable format-on-save. That way gofmt can helpfully delete that variable you just added that you were for sure never going to use. You're welcome!

[–] [email protected] 6 points 3 months ago

My thing is imports. Like, why, why do you delete it right after I typed it in and saved?

[–] marcos 13 points 3 months ago (1 children)

Go will not calm down! Go will NEVER calm down!

How DARE! YOU! suggest Go to calm down!?

[–] [email protected] 4 points 3 months ago (1 children)

This files seems to be generated. DO NOT EDIT.

[–] [email protected] 3 points 3 months ago
[–] [email protected] 1 points 3 months ago

Even better, it aggressively deletes your variables and imports every time you save. It trains me against every instinct I have working on a computer.