go ahead... be a heretic | |
PerlMonks |
Re^11: Developing a module, how do you do it ?by BrowserUk (Patriarch) |
on Mar 03, 2012 at 21:18 UTC ( [id://957714]=note: print w/replies, xml ) | Need Help?? |
I think one reason for that is the OO attitude you describe, where writing a module means a separate project done in isolation, hoping that someday maybe it just might be useful for something else, so you spend a lot of extra time trying to make it generically accessible. Indeed. Though the problem is not confined to OO modules alone, but it certainly seems more prevalent in the OO way of working. Designing any interface -- software, user, or hardware -- in isolation of the way it will actually need to be used, makes for high impedance almost every time. And it is far easier to add to a minimal interface as (and when) new requirements become known, than it is to work around an over-specified interface that guessed wrong about what might be needed in the future. Once the latter is out there, respecify for actual new requirements, or removing the redundant, becomes impossible, because you don't know what bits someone, somewhere will have used, no matter how inappropriately. What-ifs and maybes -- trying to predict the future and guess what applications might need -- is the ongoing curse of the software industry. Add it when you know it is needed. Never before that. With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|