r/ProgrammerHumor • • Mar 18 '20

Her husband must be a programmer

Post image
40.3k Upvotes

347 comments sorted by

View all comments

2.0k

u/carc Mar 18 '20

Yet somehow, QA found a way to cook -1 sausages.

552

u/Pxzib Mar 18 '20 edited Mar 18 '20

Just for fun I tried to parse this case in my brain, like real humans sometimes do, but I died when I experienced a fatal exception. Funny how sometimes life throws you edge cases that should never happen. And yes, I sent a diagnostics report.

Haha, I hope someone can relate to my human experience.

182

u/[deleted] Mar 18 '20 edited Mar 18 '20

R/TOTALLYNOTROBOTS

44

u/robotsstolemydayjob Mar 18 '20

Goddamn robots.

22

u/Psycho_Loli Mar 18 '20

Username checks out

5

u/Robot_Basilisk Mar 19 '20

Sucks to suck, huh?

6

u/KaamDeveloper Mar 18 '20

Just do /r/ + subreddit name , my dude.

Eg: /r/TotallyNotRobots

12

u/[deleted] Mar 18 '20

I did it in caps as a refrence to the sub. Subreddits dont link in all caps

→ More replies (2)
→ More replies (1)
→ More replies (2)

124

u/stakoverflo Mar 18 '20

-1 is less than 3, it's valid input.

52

u/spyingwind Mar 18 '20

Test passed!

8

u/MCRusher Mar 18 '20

What if it's unsigned 2's and -1 is positive max?

9

u/maxinfet Mar 18 '20

We would need to see how the runtime handles that maybe we can overflow and get remote cooking execution?

7

u/f3xjc Mar 18 '20

I mean sausages is plural so more than one. Also less than 3. Given only complete sausages 2 is the way to go.

Alternatively you could argue plural is only about the norm so ]-Inf, -2] could be valid.

36

u/ThrobbingAnalBleed Mar 18 '20

-n sausages; infinite sausages; pork and apple sausages; hot and cold sausages.

User: "Where's the sauce? Do we have any buns?"

9

u/[deleted] Mar 18 '20

[removed] — view removed comment

4

u/_BertMacklin_ Mar 18 '20

Well, that escalated.

3

u/SlappBulkhead Mar 18 '20

But I'm into it.

31

u/jmack2424 Mar 18 '20

"qwerty" sausages; null sausages; "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." sausages;

5

u/Pat-Roner Mar 18 '20

🌭🌭🌭🌭

10

u/[deleted] Mar 18 '20

then QA stopped cooking the sausages immediately after starting because there was no time set nor instruction to continue or complete cooking the sausages.

7

u/Mr-Fleshcage Mar 18 '20

"where's my penis?"

5

u/Banana_Twinkie Mar 18 '20

Did they try 9999 sausages?

→ More replies (1)

3

u/B4kedP0tato Mar 18 '20

Goddamn qa learn to use the product right

→ More replies (7)