Understanding Our Goal
Our goal is to write a Java library that calculates the cost of your groceries at the supermarket. Some people might call this a checkout.
We have an incredible vision of what this checkout will one day power: a traditional checkout till, a portable scanner that you carry around while you shop, or even a cloud-based service that uses the camera on your mobile phone to scan the barcodes. We’re pragmatic business people, though, so the first release of our library has to be as simple as possible. The first release will be a Java library. It will take two inputs: the prices of available items and the notification of items as they are scanned at the checkout.
The checkout will keep track of the total cost. So, for example, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access