HackerTrans
TopNewTrendsCommentsPastAskShowJobs

adamswann

no profile record

comments

adamswann
·5 anni fa·discuss
I once introduced a bug that squared each customer's order quantity.

Order 8 of the thing, we shipped 64. Oops.

Nutshell: The items were sold in bundles. To arrive at the quantity to ship, you multiply the quantity of bundles ordered by the quantity of each item in the bundle (just 1 or 2 in most cases). I got my variables confused and multiplied the order quantity by itself.

Not my best day.