#clean code

Programming20 min read

Refactor code safely: name variables, split functions

How to refactor code safely: write a characterization test first, rename variables, then split functions, running the tests after each step to keep behavior.

NewBeginnerSeries #6