RustyCrab,
@RustyCrab@clubcyberia.co avatar

>coworkers keep adding static to global variables
STOP DOING THAT SHIT THAT DOESN'T MEAN WHAT YOU THINK IT MEANS :5498-pepe-reeeeeeeeeeeee:

PeachySummer,
@PeachySummer@nicecrew.digital avatar

Secret dark variable to solve jew math :blob_shrug:

diazepam,
@diazepam@clubcyberia.co avatar

@RustyCrab are they trying to get the effects of local static variables?

RustyCrab,
@RustyCrab@clubcyberia.co avatar

@diazepam they think it does that "extern" is supposed to do (it doesn't). I have had so many bugs now where global variables have different values in different CPP modules and it creates heisenbugs.

diazepam,
@diazepam@clubcyberia.co avatar

@RustyCrab >they think it does that "extern" is supposed to do
are u sure theyre actually qualified for the job:niggaabyss:

RustyCrab,
@RustyCrab@clubcyberia.co avatar

@diazepam they're old ass C programmers. Evidently static did something else in C. I don't know.

diazepam,
@diazepam@clubcyberia.co avatar

@RustyCrab they absolutely dont, static in c for globals only defines linkage. ask them if they took their dementia medication

benzedrine_bob,

@RustyCrab

@diazepam

Maybe they think in cpp it works in file-scope the way it works in class-scope?

RustyCrab,
@RustyCrab@clubcyberia.co avatar

@benzedrine_bob @diazepam that could be because they seem to confuse namespaces with how static classes should be used

binkle,
@binkle@clubcyberia.co avatar

@RustyCrab @diazepam this one hurts

diazepam,
@diazepam@clubcyberia.co avatar

@binkle @RustyCrab im gonna run a sed script to convert the classes to unions in your codebase. good luck why your data is all garbled :nigga3c:

binkle,
@binkle@clubcyberia.co avatar

@diazepam @RustyCrab thats it im switching to Java

PeachySummer,
@PeachySummer@nicecrew.digital avatar

SneedsterSpeedster,
@SneedsterSpeedster@clew.lol avatar

Binkle is indian theory

deprecated_ii,
@deprecated_ii@poa.st avatar

@RustyCrab heh heh heh

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • Hentai
  • doujinshi
  • announcements
  • general
  • All magazines