Skip to content

a kata for practicing a refactoring: template method -> strategy pattern

License

Notifications You must be signed in to change notification settings

emilybache/WikiSearchKata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

WikiSearchKata

a kata for practicing a refactoring: template method -> strategy pattern

This exercise was inspired by one invented by Mike Hill and Ivan Moore. Their version of it is available on Mike Hill's github

Instructions

The code starts out by using Template Method - look at ResultResponder and its subclasses. The exercise is to refactor this code to instead use the Strategy Pattern - in other words replace inheritance with composition.

About

a kata for practicing a refactoring: template method -> strategy pattern

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages