Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 795 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 795 Bytes

Bingo Refactoring Kata

Can you spot the any code smells? We think you should be able to find

  • Primitive Obsession
  • Data Clumps
  • Missing Polymorphism

Use Parallel Change to improve this code by introducing a Cell and Coordinate class.

First introduce the Cell class: focus on parallel change of the internal datastructure.

Second introduce the Coordinate class: focus on parallel change of the public API of the BingoBoard class.

As you refactor, lean on the tests. There are two versions of the unit tests. Take note of which of them is easier to understand and update as you refactor.

Acknowledgements

This code katas was created at Atruvia and originally published on github as part of a collection of samman coaching katas.