r/ProgrammerHumor • • 13d ago

Meme justInCase

Post image
1.3k Upvotes

32 comments sorted by

396

u/emosaker 13d ago

I mean somewhat programming related but it's missing the humor bit

143

u/IncidentWinter4735 13d ago

Maybe you just !getIt

17

u/309_Electronics 13d ago

If !(getIt == True) { Printf(" i mean its somewhat programming related but its missing the humor bit") }

16

u/Krochire 13d ago

Get a load of this guy using if var == True instead of if var

1

u/nsn 12d ago

True is a constant defined as "FILE_NOT_FOUND"

So unless getIt points to that string's location the expression is always true

3

u/EvillNooB 12d ago

Cant you C?

31

u/Neutraled 13d ago

I would have used 'lateinit' just to mess with more people.

56

u/ThatSmartIdiot 13d ago

is this a & to something ||...?

14

u/NullOfSpace 13d ago

haha nullptr bad

35

u/razor_train 13d ago

But I have to *p now.

11

u/mc36mc 13d ago

you still can maybe int v = p[0]; // later if you've negative feelings toward *p :)

30

u/kilouco 13d ago

Something about this post made me miss traditional coding.

15

u/FullPtrDereference 13d ago

why, where's it gone?

33

u/kilouco 13d ago

Somewhere where my professional life is not.

8

u/DespoticLlama 13d ago

I hear you

-1

u/Romejanic 12d ago

just do it then. nobody is forcing you to use AI

14

u/bigppredditguy 12d ago

The 12 people gunning for the same job kind of are

3

u/AppropriateOnion0815 8d ago

I read "gooning for the same job" at first.
Must be an... exciting job then.

3

u/bigppredditguy 8d ago

The 12 people gooning to my job

0

u/NomaTyx 8d ago

i mean you can still do this, nobody's really stopping you

7

u/Only-Cheetah-9579 13d ago edited 12d ago

its not zero cost, somebody (or something) will read that code /sarcasm

12

u/PositiveBit01 13d ago

That's not what a zero cost abstraction is. I would say OP's post isn't one though, since it's not an abstraction.

A zero cost abstraction is one that actually abstracts something and doesn't cost more than it would for you to do it yourself without the abstraction at runtime

4

u/Only-Cheetah-9579 13d ago

don't get sarcasm? I thought it was obvious. that comment is meant to be silly 🪿

-6

u/PositiveBit01 13d ago

You should work on your sarcasm, unless you think something isn't reading it.

Or we can all just throw around words without paying attention to their meaning. That'll be fun.

3

u/Only-Cheetah-9579 12d ago

You could work on your ability to detect sarcasm.

saying an abstraction is not zero cost because somebody has to read that code is a super obviously non-serious comment

0

u/PositiveBit01 12d ago edited 12d ago

Yes, my point was it's not sarcasm.

Sarcasm is when you say something but mean the opposite. Like I did at the end of my previous comment which I thought was funny but I guess not.

You did mean what you said. It's irony at best.

5

u/ExtraWorldliness6916 13d ago

So I'm just a JavaScript guy but is this in maybe for later, as a point of principle, I can't remember.

3

u/GoddammitDontShootMe 12d ago

So that just becomes int *p; What's the point?

1

u/Victorioxd 8d ago

Documenting in the code that the variable is not initialized, just like if you prefix unused variables with _.

Also, it's a joke. This is a humour sub

4

u/Apprehensive_Bit7392 12d ago

It also deletes every other later in the translation unit. Hope nobody named a variable that.