Develop an simple Bank application while following strictly the 9 rules below. You should end up with a pretty good Object Oriented Bank application.
- Use only one level of indentation per method
- Don’t use the else keyword
- Wrap all primitives and strings
- Use only one dot per line
- Don’t abbreviate
- Keep all entities small
- Don’t use any classes with more than two instance variables
- Use first-class collections
- Don’t use any getters/setters/properties
Think of your personnal bank account experience. When in doubt go for the simplest solution.
- Basic account operation (deposit, withdrawal)
- Transfer to another client in the same bank
- Account statements (include all operations with date, amount and balance for each)
- Printing account statements (to console)
- Statement filters (time period, amount less than/greater than)