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.

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

Another dev who forgot to .AddGameplay()

Zagorath ,
@Zagorath@aussie.zone avatar

I assume that’s part of the constructor?

HereIAm ,

Should really start practicing dependency injection, so you can create any kind of gameplay you want easily!

shiveyarbles , in Gamedev is Easy

No no release should be executed first

ZILtoid1991 , in Gamedev is Easy

EnableSpatialAudio()

I thought most games nowadays don’t do any of that, because you can save that CPU time for a little big more frames.

snugglebutt ,
@snugglebutt@lemmy.blahaj.zone avatar

Save that CPU time for Denuvo

Fades , in Gamedev is Easy

Low effort meme

SmilingSolaris ,

Lower effort reply

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

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…

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.

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

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 😂

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.

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.

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?

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

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 🙃

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!

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