|
Deletions are marked like this.
|
Additions are marked like this.
|
|
Line 1:
|
Line 1:
|
|
[[TableOfContents]]
|
<<TableOfContents>>
|
If you refactor to lots of small classes, isn't the code less efficient or slower?
- Speed of the code is not the only concern.
- Modern compilers can do tricks that reduce much (and sometimes all) of the overhead of calling a method.
- Even object creation is faster than people think.
- Even if it is slower, you're not likely to notice it--particularly if there is a database involved.
- If you're worried about it, profile the code and see.
iDIAcomputing: TestDrivenDevelopmentFrequentlyAskedQuestions (last edited 2009-07-27 18:26:18 by localhost)