https://github.com/senior-sigan/feedbackday_reversepolishcalculator
https://github.com/senior-sigan/feedbackday_reversepolishcalculator
calculator java polish-calculator reverse-polish-notation
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/senior-sigan/feedbackday_reversepolishcalculator
- Owner: senior-sigan
- Created: 2018-02-23T09:28:08.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-28T09:52:37.000Z (about 8 years ago)
- Last Synced: 2025-03-17T02:25:35.157Z (about 1 year ago)
- Topics: calculator, java, polish-calculator, reverse-polish-notation
- Language: Java
- Size: 48.8 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Reverse Polish notation calculator
In this code lab we show how to write clean code.
Each tag in this repository has a chunk of improvements.
We start from the simplest implementation of the calculator with hardcoded splitting the input, using a switch and without a stack.
Next code iterations include migrating to stack, to the dictionary of operations, to tokenizer and even dynamic operations loading.
Every step has junit tests so we can easily refactor the code.