Sunday, February 28, 2010

ocp bowling kata

Started implementing in c# the bowling kata in the ocp way.

The ocp kata rule does not allow you to implement any new feature without having a base code respecting the open closed principle.
If it is not possibile, you have to refactor the base code at it.

In this way you are forced to improve the object oriented design.

Not so easy, and I think that this kata requires much more time than two or three pomodoros imo.

Ciao.
T.

No comments: