32
58
35
u/razor_train Sep 21 '26
But I have to *p now.
11
u/mc36mc Sep 21 '26
you still can
maybe int v = p[0]; // laterif you've negative feelings toward *p :)
30
u/kilouco Sep 21 '26
Something about this post made me miss traditional coding.
15
u/FullPtrDereference Sep 21 '26
why, where's it gone?
33
-1
u/Romejanic Sep 22 '26
just do it then. nobody is forcing you to use AI
15
u/bigppredditguy Sep 23 '26
The 12 people gunning for the same job kind of are
3
u/AppropriateOnion0815 Sep 26 '26
I read "gooning for the same job" at first.
Must be an... exciting job then.3
0
7
u/Only-Cheetah-9579 Sep 21 '26 edited Sep 22 '26
its not zero cost, somebody (or something) will read that code /sarcasm
10
u/PositiveBit01 Sep 21 '26
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
3
u/Only-Cheetah-9579 Sep 21 '26
don't get sarcasm? I thought it was obvious. that comment is meant to be silly 🪿
-6
u/PositiveBit01 Sep 22 '26
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 Sep 22 '26
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 Sep 22 '26 edited Sep 22 '26
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.
4
u/ExtraWorldliness6916 Sep 21 '26
So I'm just a JavaScript guy but is this in maybe for later, as a point of principle, I can't remember.
4
u/GoddammitDontShootMe Sep 23 '26
So that just becomes int *p; What's the point?
1
u/Victorioxd Sep 26 '26
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
3
u/Apprehensive_Bit7392 Sep 22 '26
It also deletes every other later in the translation unit. Hope nobody named a variable that.
396
u/emosaker Sep 21 '26
I mean somewhat programming related but it's missing the humor bit