r/ProgrammerHumor • • Oct 08 '26

Meme imRunningOutOfVarNames

Post image
83 Upvotes

24 comments sorted by

6

u/beatYourWifeForFree Oct 08 '26

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

9

u/Makefile_dot_in Oct 08 '26

why are you using an online C compiler at work?

5

u/beatYourWifeForFree Oct 08 '26

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

4

u/braaaaaaainworms Oct 09 '26

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

1

u/beatYourWifeForFree Oct 10 '26

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

6

u/rosuav Oct 08 '26

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

1

u/OldKaleidoscope7 Oct 08 '26

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

46

u/bobenchoseptimus Oct 08 '26

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

22

u/lllorrr Oct 08 '26

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

4

u/DonkeyTron42 Oct 09 '26

yes... need some 64bit tatas.

44

u/metaglot Oct 09 '26
// f32

Most helpful comment

2

u/hughperman Oct 09 '26

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

5

u/Zirkulaerkubus Oct 10 '26

Then use a type float32.

2

u/hughperman Oct 11 '26

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

4

u/KeanerBike Oct 10 '26

Makes?? sense (?)

18

u/kishaloy Oct 08 '26

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 Oct 09 '26

Another victim of the minimal var name length policy

8

u/AOAqua Oct 09 '26 edited Oct 09 '26

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 Oct 09 '26

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 Oct 12 '26

French programmer spotted

2

u/jayerp Oct 10 '26

Can I interest you in “tuturu”?

0

u/yjlom Oct 08 '26

Vas-y tètè!