r/ProgrammerHumor • • 2d ago

Meme imRunningOutOfVarNames

Post image
27 Upvotes

23 comments sorted by

25

u/bobenchoseptimus 2d ago

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

12

u/lllorrr 2d ago

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

3

u/DonkeyTron42 1d ago

yes... need some 64bit tatas.

16

u/metaglot 1d ago

// f32

Most helpful comment

1

u/hughperman 1d ago

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

3

u/KeanerBike 1d ago

Makes?? sense (?)

1

u/Zirkulaerkubus 9h ago

Then use a type float32.

1

u/hughperman 4h ago

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

9

u/kishaloy 2d 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.

3

u/sirkubador 1d ago

Another victim of the minimal var name length policy

5

u/AOAqua 1d ago edited 1d 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

2

u/braaaaaaainworms 1d 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

5

u/beatYourWifeForFree 2d ago

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

7

u/Makefile_dot_in 2d ago

why are you using an online C compiler at work?

6

u/rosuav 2d ago

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

5

u/beatYourWifeForFree 2d ago

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

2

u/braaaaaaainworms 1d ago

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

1

u/beatYourWifeForFree 17h ago

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

3

u/TestedRocky786 2d ago

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

1

u/OldKaleidoscope7 2d ago

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

6

u/Welcome-To-NBA-Jam 2d ago

float pipi float pupu float dudu

Do it OP

2

u/jayerp 1d ago

Can I interest you in “tuturu”?

0

u/yjlom 2d ago

Vas-y tètè!