Skip to content

refactoring exercise for removing Primitive Obsession with Parallel Change

License

Notifications You must be signed in to change notification settings

sammancoaching/Bingo-Refactoring-Kata

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 37.6%
  • Java 32.3%
  • Python 30.1%