in reply to Re: Coding styles: OOP vs. Subs
in thread Coding styles: OOP vs. Subs
With documentation, it's even worse. A module containing 100 subs will have a large manual - but it's only one manual, and you'll have the right manual right away (because there's only one). Not so with OO. If you want to know the details of a method supplied by a certain class, it could be in the manual of said class, or in any of the fifteen classes it inherits from.
I believe in a middle ground. Too large files become unwieldy. Too large class hierarchies as well. And if I have to choose between the two evils, I pick the large files.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Coding styles: OOP vs. Subs
by BrowserUk (Patriarch) on Nov 16, 2005 at 16:33 UTC |