Policy & Presentation

Mobile App Case Study, Episode 5

By Robert C. Martin and Justin Martin

76 minOct 2016

Wondering what the Mobile App Case Study series is all about?
Watch this free 3-minute intro video and find out!

The Architecture intrudes.

In this episode we start to see the architecture rearing up and asserting itself.

This begins with a discussion about the turn-taking policy. Where does that belong? And what direction should the dependencies point.

This leads to the adoption of the Model-View-Presenter pattern, to decouple the testable, from the untestable portions of the GUI.

Various dependency management techniques are tried; including one using lambdas that ends up burning our brains at the end of the episode.

Oh, yeah, and we get caught by that refactoring we did last episode, when we removed all the keyword arguments.

Anyway -- The Architecture has Begun.

The github repository for this series is: https://github.com/unclebob/MACS_GOMOKU