summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Q1/README.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/Q1/README.md b/src/Q1/README.md
index 14c7bdd..f30290b 100644
--- a/src/Q1/README.md
+++ b/src/Q1/README.md
@@ -158,3 +158,18 @@ Bye
```
5. Discussion:
+
+I started implementing this exercise by creating a class that matches
+the supplied class diagram in the assignment. I then started writing
+testing using `junit` to flush out the expected API. I enjoy practicing
+test driven development so writing my tests first helps me to explore
+the target code from the perspective of the client and makes it easier
+to refactor the code as I learn new techniques or optimizations.
+
+I only wrote happy path tests using `junit`, but this was enough to put
+together a running console application.
+
+I prefer to automate things as much as I can, so I chose to use maven
+to create the default folder structure and some maven plugins to run
+junit and a plugin to automatically format the code as per the Google
+java code style guidelines.