List of code constructs to test the technique - SoftDevGang/RefactorLegacyCodeThroughPureFunctions GitHub Wiki
In order to validate the technique, we need to test it on various code patterns. Here is a list of patterns that we should test, and links to code samples or codebases we can use for each technique:
- Many conditionals
- Code with lots of mutations of original data.
- Deep inheritance chains with convoluted dependencies
- Use of exceptions. Use of exceptions for logic.
- Multi-threaded code
- Asynchronous execution
TBD