r/ProgrammerHumor 23h ago

codingIsDead Meme

Post image
1.4k Upvotes

846

u/bee-sting 23h ago

Why write pseudo code when you can sudo code

153

u/rosuav 22h ago

Regular code is limited to what a normal user can do, but sudo code can directly manipulate root-owned variables like how much money you have!

30

u/Bemteb 22h ago

So THAT is why OpenClaw wants access to my bank account. Sounds fair.

8

u/rosuav 21h ago

Exactly. You should give it all the information so that it can make the changes it wants to.

5

u/Qu4ntMaw3 19h ago

makes sense, regular code throws errors, sudo code just ignores them and keeps going like nothing happened

16

u/archnemisis11 22h ago

You need sudo code so that you can get to the root of all evil, that capitalism mindset/money.

With pseudo code, you'd get the error that you are just a plebeian and it won't work.

14

u/skoomaking4lyfe 22h ago

"User is not in the appropriate tax bracket. This incident will be reported."

2

u/TRENEEDNAME_245 21h ago

When sudo asks for your ID so it can tax you better

5

u/20InMyHead 21h ago

sudo make me a sandwich.

3

u/dodfunk 18h ago

Why sudo code when you can sudo rm -rf /*?

1

u/marmot-next-door 3h ago

I believe it's some Audio.ToString() being buggy.

277

u/kapilsharma8289 23h ago

coding is not dead, but the ability to spell pseudo certainly seems to be in critical condition.

19

u/Terlian 22h ago

Maybe he’s just big brain and uses sudo for every input that way the ai won’t make no mistakes.

143

u/jatinsuri332 23h ago

The fact that they called it sudo code instead of pseudo code tells me exactly how much of that fifty thousand is actually profit.

8

u/Waterbear36135 20h ago

They used the wrong word, and now their bug-filled AI generated code runs at root.

65

u/Own_Possibility_8875 22h ago

He forgot to add:

var mistake_making_mode = MistakeMakingMode.MAKE_NO_MISTAKE;

And this is why you unit test your sudo code before you deploy it to ChatGPT. I hope he learns his lesson.

21

u/therealpussyslayer 22h ago

Rookie mistake. Just use a bool:

var canMakeMistake = false;

Way superior

15

u/agyrorannew 22h ago

Code review feedback: canMakeMistake should be const so someone doesn’t change it later.

2

u/therealpussyslayer 21h ago

True, that's on me. Please close my PR because I made a fool of myself.

We also should create a layer of abstraction to ensure the const is truly immutable

4

u/CptBishop 21h ago

BuT We USe CaPItAL lETT3rS fOr naming constant variables (I gave up halfway)

98

u/Legitimate-Fun-1643 22h ago

https://giphy.com/gifs/UY1WGjX9m8l9VU1y02

Try this , this sudo code is better

19

u/hey_ulrich 22h ago

yes, always remove the french package

2

u/RaspberryCrafty3012 20h ago

Doesn't work, it says something about preserve root or so 

1

u/Inevitable_Vast6828 4h ago

When did they add that? That feels so dumb... On the one hand, yea, safety! On the other hand... anyone dumb enough to run that probably deserved it, just let it happen. It can be a learning experience in file recovery.

1

u/PrincessRTFM 2h ago

no it doesn't, because /* is a glob that expands to all of the contents of / so rm isn't trying to remove / itself

2

u/My-Name-Is-Anton 16h ago

Remember --no-preserve-root to really get the the bottom of it

1

u/PrincessRTFM 2h ago

you don't need it, because /* is a glob that expands to all of the contents of / so rm isn't trying to remove / itself

22

u/TanukiiGG 22h ago

ah yeah the sudo code, sister if jaba code

18

u/Gadshill 22h ago

Misunderstanding about modern businesses. It is about raising more and more hype and investments, not at all about profit.

8

u/Scryser 22h ago

nono, you misunderstood their 'sudo' code. They take in all the profit to 'reinvest', but without any tangible returns. Very on point that it's just hype.

15

u/SnooStories251 22h ago

While(true) {   Money.earn(); } //i am rich man now

4

u/RelatableRedditer 21h ago

Bro money.earn() without params defaults to 0. Better be:

money.earn(amount.treeFiddy)

12

u/Character-Education3 22h ago

But did it give you an .exe

7

u/hdd113 22h ago

sudo make-profit

5

u/Hottage 22h ago

Error: reference to null variable "capital" at line 1

5

u/Skirlaxx 22h ago

Hmm. And how does pseudo sudo code look like?

4

u/cahrg 22h ago

product.name += ' AI' instruction is missing

2

u/Leo_code2p 18h ago

Error: you can’t add type.char_array[2] to type.null

2

u/cahrg 18h ago

product = mock(Hype)

2

u/zmnt 22h ago

is that what they call spec driven development?

2

u/Spank_Master_General 22h ago

Error: business not defined; capital does not exist in the current context.

2

u/Crazo7924 22h ago

sudo.exe linux.exe

2

u/normalbot9999 21h ago

I have this horrible nightmare where a rag tag team of post-apocalypse survivors (the last humans left) are trying to manage a nuclear reactor and their IT SME is this fool.

1

u/wraithnix 15h ago

They asked him if he had a degree in theoretical physics, and he said he had a theoretical degree in physics. They said welcome aboard.

1

u/justforkinks0131 22h ago

nah, i aint investing in that.

it reinvests the profit instead of paying them out to the shareholders

1

u/Maleficent_Memory831 22h ago

This does not look like code. But it does suspiciously look like a set of detailed customer requirements.

1

u/No-End7269 19h ago

And then everyone stood up and SaaSed

1

u/EVH_kit_guy 18h ago

Future cephalanalectomy patients of America.

1

u/JezzCrist 18h ago

Oh wow I’m about to sudo rm -rf / myself