logoalt Hacker News

seanhuntertoday at 11:45 AM1 replyview on HN

My uncle was part of the team in Bank of America implementing new ATM software at the time they moved to somewhat customizing the interface so it had a quick button on the first menu to give you your favourite withdrawal amount quickly, let you choose what notes you wanted etc. He said it was written in java and his favourite bit was writing the method that would be called (after all checks were done to make sure you had the money etc) to issue the cash. It was called “dispenseWithoutQuestion()”.

You could call dispenseWithoutQuestion(someamount) and the device would spit that amount of cash out so it was obviously tremendously pleasing to test.


Replies

neuroelectrontoday at 11:46 AM

Why would this be tremendously pleasing to test?

show 1 reply