VBA corpus?
Basically code that is almost the same except for a few variable names
and/or literals, and that could qualify for what is known in the OO
world as an "extract method" refactoring (i.e. define a unique function
that summarizes all the things that are similar in the two snippets of
code and replaces them with a call to this new function).
Cheers,
Alan
RB Smissaert wrote:
How do you define code redundancy?
RBS
|