rolger / Bingo-Refactoring-Kata

refactoring exercise for removing Primitive Obsession with Parallel Change

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

refactoring exercise for removing Primitive Obsession with Parallel Change

License:Other


Languages

Language:C# 54.3%Language:Java 45.7%