THE refactoring add-in for Microsoft Visual Basic 6 (VB6). It brings one of the most important features of the most state-of-the-art development systems to good old classic VB6.
Refactoring is a tremendous aid in clarifying code as you debug it, and as you write it.
Refactoring helps you achieve:
1. self-documenting code, for better Readability and maintainability, which is pretty much the only kind of code documentation that ever seems to stay current (Extract Method and Introduce Local allow you to create function and variable names that are descriptive enough to rarely need comments). Until you experience readable, self-describing code, you don't know what you're missing
2. fine-grained encapsulation, for easier debugging and code reuse: Extract Method automatically determines the parameters needs in order to create a method from the current selection, and handles them correctly. You then know exactly what external information the selected block requires in order to operate. This can be a great aid in untangling complex code during code reviews or debugging.
3. the generalization of existing code, to make it easier to apply existing code to a broader range of problems - as you Extract Method, you can easily replace things like hard-coded constants (perhaps, a connection String, or a table name) with parameters, thus allowing the application of proven code to new contexts