Extend life of codebase with strategic repairs
Challenge
Make large, undocumented, crufty codebase easier to reuse
Comments
A series of reuses, patches and addition had left this complex commercial Flash app very hard to modify. It suffered from no documentation, unused classes and methods, few comments, a patchwork of architectures and styles, ambiguous naming, and more.
My proposal of light refactoring was accepted, resulting in more maintainable, reusable and robust codebase.
Actions
- Took initiative to estimate and propose a light refactoring
- Removed unused code
- Renamed classes and variables, eliminating ambiguities and making much of the code self-explanatory
- Reorganized files and class packages to reflect the architecture and chosen design patterns
- Wrote documentation and commented tricky parts of the code