16 points
*

Sometimes I think it could be easier to just use the variable before its declared and then let the IDE auto fix create it, but I never remember to try it 😂

permalink
report
reply
123 points
*

“oh, the line you are typing is incomplete and therefore the whole file is invalid which means there is nothing to suggest for autocomplete”

permalink
report
reply
14 points

Ah, a fellow SSMS user

permalink
report
parent
reply
1 point

Reminds me of VB6.

permalink
report
parent
reply
78 points

Compiler: you’re skating on thin ice there you fucking maverick

permalink
report
reply
17 points

Hot doggin and grab assin. Not in my house.

Fuckit, red squiggly.

permalink
report
parent
reply
24 points

…and then there’s Go who just won’t let you compile at all

permalink
report
reply
13 points

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

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

permalink
report
parent
reply
4 points

This files seems to be generated. DO NOT EDIT.

permalink
report
parent
reply
3 points

Or else

permalink
report
parent
reply
37 points

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!

permalink
report
parent
reply
6 points

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

permalink
report
parent
reply
2 points

What IDE is this?

permalink
report
reply
10 points

It’s more language dependent than ide. Go for instance makes unused variables a compiler error (I believe) which means ides mark it as red immediately.

Ts/js can have eslint rules against unused variables but they will still usually compile or just run directly anyway.

Java doesnt error but can be set to warn you on them.

Abap doesn’t care and won’t tell you.

Your mileage will vary.

permalink
report
parent
reply
2 points

I’ve seen it with multiple IDE’s

permalink
report
parent
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

  • 950

    Posts

  • 35K

    Comments