0 points

IDE is one thing, Go refuses to compile. Like calm down, I’m going to use it in a second. Just let me test the basics of my new method before I start using this variable.

Or every time you add or remove a printf it refuses to compile until you remove that unused import. Please just fuck off.

permalink
report
reply
1 point
*

VSCode with Go language support: removes unused variable on save “Fixed that compilation bug for ya, boss”

permalink
report
parent
reply
0 points

Like actually deletes them from the working copy? Or just removes them in the code sent to the compiler but they still appear in the editor?

permalink
report
parent
reply
1 point

Yeah IIRC it deletes them, which is as mad as you would expect. Maybe they’ve fixed that since I used it last which was some years ago.

permalink
report
parent
reply
1 point

But are you gonna return something for this method??? You said you’d return an integer, yet there is no return statement!

permalink
report
reply
1 point

Compiler/interpreter: Can’t find variable farfignewton.

Earlier:

Me: Declare variables near, far

IDE: Oh! You mean farfignewton right? I found that in some completely unrelated library you didn’t write. Allow me complete that for you while you’re not paying attention.

permalink
report
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

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

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 7K

    Monthly active users

  • 730

    Posts

  • 11K

    Comments