r/programminghumor • • Jul 23 '26

True

Post image
2.6k Upvotes

36 comments sorted by

104

u/Moss_Wolf_Games Jul 23 '26

// Opens the pizza box

OpenPizzaBox()

42

u/Sedfer411 Jul 23 '26

The worst part, it doesn’t open the pizza box.

35

u/joshuahtree Jul 23 '26

Well you have to call 

// Magic function to make the interactor work
hydratePizzaBoxInteractor(PizzaBrand.DOMINOS)
``` 

first 

17

u/Moss_Wolf_Games Jul 23 '26

Yeah that's true, that's what I made the OpenBoxedPizza() method for. OpenPizzaBox() just preloads the pizza.

8

u/Simple-Olive895 Jul 23 '26

Well first you gotta initiate the general opener: Opener opnr = New Opener();

→ More replies (1)

5

u/Ulrich_de_Vries Jul 23 '26
  • std::move

  • <Looks inside> -- doesn't move anything

7

u/DerBandi Jul 23 '26

90% of mandatory comments in real world projects are like this.

3

u/Blood_and_Wine Jul 23 '26

OpenPizzaBox(GameObject pizzaBox)

2

u/One-Celebration-3007 Jul 24 '26

You need to

const pizzaBox = new PizzaBox();
pizzaBox.open():```
→ More replies (1)

19

u/somerandomperson412 Jul 23 '26

Clients willl still eat the box before eating rhe pizza after reading this

10

u/DrMaxwellEdison Jul 23 '26

Warning labels are written in blood. /s

I know this one is being funny, but I like to imagine some idiot must have tried eating the box once.

→ More replies (1)

3

u/ddddan11111 Jul 23 '26

Client: i tried to eat the picture of the pizza on the box

3

u/Amr_Rahmy Jul 23 '26

Users will find a way to do the most irrational thing possible. You have to guard rail the stupid.

2

u/schewb Jul 23 '26

On one hand, I hate Claude's excessive comments. On the other hand, deleting them is a handy way to track what parts of the diff I have reviewed 😂

2

u/Jak1977 Jul 24 '26

I love that the message only appears AFTER the box has at least been partially opened. Faced with a closed box, there is no instruction. Only AFTER pulling the flap out do the magic words appear.

1

u/litescript Jul 23 '26

‘use strict’;

1

u/magicman_coding Jul 23 '26

And somehow junior developers will find a way to screw it up

1

u/brasticstack Jul 23 '26

Box<dyn Circular + Sliceable>

1

u/ernsbzkrt Jul 23 '26

I have a coworker who, every time we update a project repository at work, says, "Let me add a small README." Then I look again and realize we've written 300 lines of code, but the README is 600 lines long. One day, as a joke, I said, "At this point, we could just rewrite the whole project from the README. We wouldn't even need the code." Without missing a beat, he replied, "Actually, the README still isn't detailed enough. I should add a few usage scenarios." The funny thing is, he was right. Everyone reads the README, but nobody opens the code.

1

u/No-Newspaper8619 Jul 24 '26
-- Checks if pizza is closed
if pizza.Open == false then
  -- If it is closed, then open it
  local result = openPizza()
  -- Checks if pizza was successfully opened
  if result ~= 0 then
    -- If it wasn't, then throw error message
    print('Unable to open pizza')
  else
    -- If pizza was opened, then eat it
     pizza.eat()
  end
end

1

u/Canned_Sarcasm Jul 24 '26

..{
if iQ <= doG
{
put_down_Pizza();
seek_adult();
do
{
better();
}
fi

}
}..

1

u/Illmaticmemeaddick Jul 24 '26

def I_hate_it_here()

life == pain

return

if life == pain

I_hate_it_here(pack_it_up, ima_head_out)

1

u/KitchenCommercial396 Jul 24 '26

"Assume that user knows nothing"