Commit 2b469c0
Changed files (1)
src
Q10
src/Q10/README.md
@@ -164,3 +164,7 @@ Tests run: 52, Failures: 0, Errors: 0, Skipped: 0
Test cases are defined in `TaxReturnTest.java`.
5. Discussion:
+
+There is a lot of conditional logic in `getTax()`. I considered
+[Refactor conditional with polymorphism](https://refactoring.com/catalog/replaceConditionalWithPolymorphism.html)
+but decided not to make this change.