There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

joyjoy , in Variable Declaration

Meanwhile rust when you try to use a variable before saving.

https://i.imgflip.com/8kpid0.jpg

Wilzax , in Uh...oh...

The difference between theory and practice is greater in practice than in theory.

gofsckyourself , in Uh...oh...

Theory is when you know everything but nothing works

I know it’s “just a joke” but this makes no sense.

CanadaPlus ,

We know very exactly how the baby monster group in mathematics operates. It has no practical use as far as I’m aware (it doesn’t work).

lugal , in Uh...oh...

The difference between theory and praxis is that in theory, there is no difference, but in praxis, there is

scutiger , in Variable Declaration

I DECLARE… VARIABLE!

Tetsuo ,

Oh no you have to say it out loud EVERY time ?

synae ,
@synae@lemmy.sdf.org avatar

I didn’t just say it, I declared it!

RonSijm , in Variable Declaration
@RonSijm@programming.dev avatar

On the other hand, when my IDE doesn’t tell me:

Build Server: “BUILD FAILED! SonarQube says that Roslyn says that you’re not using one of your variables!”

Yea okay calm down, and why are you snitching now, Roslyn? Should have told me directly 🙃

CrypticCoffee , in Variable Declaration

What IDE is this?

Luvon ,

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.

qaz ,

I’ve seen it with multiple IDE’s

treechicken , in Variable Declaration
@treechicken@lemmy.world avatar

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

marcos ,

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

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

joyjoy ,

This files seems to be generated. DO NOT EDIT.

pipe01 ,

Or else

dvlsg ,
@dvlsg@lemmy.world avatar

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!

shield_gengar ,
@shield_gengar@sh.itjust.works avatar

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

smeg , in Variable Declaration

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

GBU_28 ,

Hot doggin and grab assin. Not in my house.

Fuckit, red squiggly.

perviouslyiner , in Variable Declaration

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

4am ,

Ah, a fellow SSMS user

EinfachUnersetzlich ,

Reminds me of VB6.

Venator , in Variable Declaration

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 😂

ceiphas , in Uh...oh...

The bigger problem is, when the code works, but you think it shouldn’t

BanjoShepard ,

Yeah this is the scariest point in all of my projects.

kamenlady ,
@kamenlady@lemmy.world avatar

The true horror begins, when the customer calls for support, because some things are awkward, and you know instantly the cause, also that you will have to fix this now, 5 years later.

xpinchx ,

I love that realization when I throw some hacky shit together and it somehow works first try.

When I try to be organized and meticulous nothing works and I eventually give up.

firelizzard ,
@firelizzard@programming.dev avatar

That sounds like a great way to set yourself up for spectacular failures down the road

WILSOOON , in Uh...oh...

This is a good one, although theory is a much better problem to have than practice

turtlepower ,

Yeah, but practice makes perfig perfect.

jadedwench , in You can certainly change it. But should you?

laughs in evil PLC programmer A little forces enabled, a change here, and maybe just move this wire over there while I am at it…

umbrella , in Gamedev is Easy
@umbrella@lemmy.ml avatar

if only those dumb game devs knew

ill send them this code just to be sure

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines