Original idea: https://github.com/sandromancuso/Bank-kata/
- One level of indentation per method
- Don’t use the ELSE keyword
- Wrap all primitives and Strings
- First class collections
- One dot per line
- Don’t abbreviate
- Keep all entities small (50 lines)
- No classes with more than two instance variables
- No getters/setters/properties
Project generated with
mvn archetype:generate \
"-DarchetypeGroupId=io.cucumber" \
"-DarchetypeArtifactId=cucumber-archetype" \
"-DarchetypeVersion=7.5.0" \
"-DgroupId=org.kata" \
"-DartifactId=bank-kata-calisthenics" \
"-Dpackage=bank" \
"-Dversion=1.0.0-SNAPSHOT" \
"-DinteractiveMode=false"