diff options
| author | mo <mo.khan@gmail.com> | 2019-06-02 22:12:11 -0600 |
|---|---|---|
| committer | mo <mo.khan@gmail.com> | 2019-06-02 22:12:11 -0600 |
| commit | d68f4ae0d2b744e1401e3bf39868876103ef8d2b (patch) | |
| tree | c36c3b39a69e7d849c6940d4ac9d03d9e0f17ada | |
| parent | 44e29be9318ede77de14dca25c4cedd608045c07 (diff) | |
provide some discussion
| -rw-r--r-- | src/Q1/README.md | 15 |
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. |
