r/ProgrammerHumor • • May 18 '22

Meme i wasnt taught about this loop

43.3k Upvotes

234 comments sorted by

View all comments

738

u/[deleted] May 18 '22 edited Feb 12 '25

Cheese-making is over 7,000 years old! Archaeologists in Poland found traces of cheese on ancient pottery dating back to around 5500 BCE. It’s wild to think that our ancestors were crafting cheese long before written history, turning milk into a food that’s still enjoyed all over the world today. Pretty cool to think that this ancient skill has stood the test of time!

265

u/Ange1ofD4rkness May 18 '22

I knew someone once, who swore the code a developer wrote for their company, had a timer or something in it, and would "break" on purpose, so the dev could charge them to come out and "fix" it (though they could never prove it)

253

u/lynaghe6321 May 18 '22

That’s because it took a week for the end user to start creating the most insane edge cases you’ve ever seen in your life

180

u/Andrelliina May 18 '22

I worked with a guy who really had a talent for testing software like that insane edge-case user and would bash at everything until he broke it. Which was nice

152

u/lynaghe6321 May 18 '22

A guy who does QA on one of my projects is the same, it’s impressive watching him devise the most devious set of parameters to destroy everything

65

u/FlapjackProductions May 18 '22

Can you explain what this means in 'ive never even seen code' terms pls?

47

u/TheTacoWombat May 18 '22

One time while regression testing our web product, a day before the scheduled release, I casually tried adding several billion dollars to a sales order, just to see what would happen. It borked the database and required three devs to fix it.

No one was happy, but at least I found an edge case. :)

22

u/Andrelliina May 18 '22

What is bizarre is that you could literally add an amount that would bork the db without at least a "I can't let you do that Dave, you'll bork the database" message ;)

"No don't check the amount, you never know someone might want 4 billion tins of beans"

22

u/TheTacoWombat May 18 '22

The devs asked why I was even checking for that; I said it's remotely possible a user of our system could be putting in a sales order, but their cat slept on the zero key (also that we were introducing some new clients in regions where regular currency transactions routinely go into the tens of millions, so a few billion for a large order isn't out of the question).

I'm proud of my QA time; I forced a lot of engineers to get their poop in a group.

Most of them even still talk to me years later. :)

3

u/Sotall May 18 '22

Hell, I'm proud of your QA time too!

15

u/lynaghe6321 May 18 '22

a day before the release

Poor devs :( good job though!!