Commit d68f4ae

mo <mo.khan@gmail.com>
2019-06-03 04:12:11
provide some discussion
1 parent 44e29be
Changed files (1)
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.