Skip to content

andrena/refactoringLikeCompilers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Refactoring Like Compilers

This is a Legacy Code Kata demonstrating Refactoring Like a Compiler

  1. Start with the example in de.andrena.refactoringlikecompilers
  2. Transform it to static single assignment form (in short: ensure that each variable is assigned at mostly once) - de.andrena.refactoringlikecompilers.ssa
  3. Simplify the code and build an enum from gender - de.andrena.refactoringlikecompilers.toobjects1
  4. Build an object from name - de.andrena.refactoringlikecompilers.toobjects2

This example was exercised at XP-Days 2018. You can find some hints in the attached presentation.

About

A Legacy Code Kata Demonstrating Refactoring Like a Compiler

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages