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.
Tag · 1 posts
How to refactor code safely: write a characterization test first, rename variables, then split functions, running the tests after each step to keep behavior.