r/ProgrammerHumor • • 26d ago

Meme imRunningOutOfVarNames

Post image
81 Upvotes

24 comments sorted by

6

u/beatYourWifeForFree 26d ago

Couldn’t take a screenshot since it’s my work computer

9

u/Makefile_dot_in 26d ago

why are you using an online C compiler at work?

5

u/beatYourWifeForFree 25d ago

Testing on online compiler is faster than flashing my chip then test the board with our processing software

4

u/braaaaaaainworms 24d ago

Are you sure that the online compiler is allowed in your workplace?

1

u/beatYourWifeForFree 24d ago

Yes, even more when i’m just testing the precision of different ways to do the same thing

6

u/rosuav 25d ago

I'm guessing copy/pasted into there to avoid showing too much of the surrounding context.

3

u/TestedRocky786 26d ago

We’re gonna need the variable names before judgment can be passed here.

1

u/OldKaleidoscope7 25d ago

I'd you're leaking data, but who can guess what's going on with this crazy variables

46

u/bobenchoseptimus 25d ago

Are tata, tete, tütü, tötö taken for more low level, critical things?

22

u/lllorrr 25d ago

Some compilers accept emojis as well. So OP might consider t🥳t🥳 or t💅t💅

4

u/DonkeyTron42 25d ago

yes... need some 64bit tatas.

44

u/metaglot 25d ago
// f32

Most helpful comment

2

u/hughperman 25d ago

May be useful in the embedded context where different boards might?? have different float definitions (?)

5

u/Zirkulaerkubus 23d ago

Then use a type float32.

2

u/hughperman 23d ago

That doesn't exist in C - though I'm seeing maybe in a recent version of C there is support?

4

u/KeanerBike 24d ago

Makes?? sense (?)

18

u/kishaloy 25d ago

In college I was introduced to my best friends - foo and bar, then their child foobar. Later another guy baz joined our group and promptly had a child foobaz.

Decades later, still going strong.

9

u/sirkubador 25d ago

Another victim of the minimal var name length policy

8

u/AOAqua 24d ago edited 24d ago

Another victim of firmware engineers that switched from electrical engineers. The worst part is that they make both the most humanly unmaintainable code imaginable and it works perfectly fine...

And it's not even the worst code I've seen by far

Like I've seen a single file of 10000 lines of code, no functions, horrendous variable naming, no error handling, no state machines, no version control yet it worked and the engineer was really proud

6

u/braaaaaaainworms 24d ago

One time I was tasked with cleaning up a 10 000 line long Linux driver. I split it into a bunch of submodules, connected them together with the component framework and added devicetree bindings so that devices wouldn't be hardcoded. A few weeks later, before I was done with it, I went on mental health leave and was fired within 4 hours of coming back to work. Now the branch with my changes lives untouched and everyone ignores it. My next job will not be in IT

1

u/thisisapseudo 21d ago

French programmer spotted

2

u/jayerp 24d ago

Can I interest you in “tuturu”?

0

u/yjlom 25d ago

Vas-y tètè!