Hacker News new | ask | show | jobs
by weaksauce 5539 days ago
I love that. It's a great lesson to programmers that we should think about the extreme cases and have set lower and upper bounds on our algorithms. Sanity checks should be in your code for most applications and inputs.
1 comments

Amazon should put an upper bound on the maximum price a product can be. Can credit card companies even process a transaction in the tens of millions of dollars?
I remember hearing about someone buying a multi-million dollar artwork with their platinum amex once, so it would seem so.
Platinum Amex I doubt. Maybe with a Centurion card.
The so-called "Black Amex" card has been used to purchase a ~$30 million aircraft, according to American Express.
Mark Cuban bought a Gulfstream V over the internet with his American Express card.
Only yahoo to create basement dweller millionaires
So they make it $10k, and the post is about the $10k book instead.