The Deadly Prescription Kata

Imagine this code to be a part of a larger code base.

  1. Put the legacy code under test.
  2. Refactor applying the Tell-Don't-Ask principle.

#LegacyCode, #RefactoringKata, #TellDontAsk