Table of contents
- Introduction
- Early returns
- AST rewriting
- Refactor rules
- Real world case studies
- Libraries of refactors
def hello(world) -> None:
I fancied investigating some ways to verify the correctness of a code refactor.
Here I discuss the considerations for any potential solution, and explore different options, demonstrating them with minimal code examples.
The goal is to lighten the cognitive load associated with verifying rewrites 'manually' (i.e. mentally).
Thanks for reading! 🚀