Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


in reply to Re^10: Developing a module, how do you do it ?
in thread Developing a module, how do you do it ?

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.

The start of some sanity?

  • Comment on Re^11: Developing a module, how do you do it ?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://957714]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2024-04-26 00:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found