ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   VBA corpus? (https://www.excelbanter.com/excel-programming/375575-re-vba-corpus.html)

RB Smissaert

VBA corpus?
 
How do you define code redundancy?

RBS

wrote in message
oups.com...
Hi everyone out there! I'm interested in accessing a representative
corpus of Excel VBA code in order find out just how much code
redundancy there is in average. Where do you think I could search for
this material (some file search engine maybe?)? What is your hunch on
this subject?

Cheers,
Alan



[email protected]

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




All times are GMT +1. The time now is 01:06 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com