Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: How to avoid (or handle) module interface changes

by rir (Vicar)
on Oct 21, 2005 at 21:29 UTC ( [id://502131]=note: print w/replies, xml ) Need Help??


in reply to How to avoid (or handle) module interface changes

You left out the option of your new code living in the same namespace: to extend and wrap and deprecate stuff in one module.

Then you have all your code proximate and can keep your users and push them toward the new code. In your case it seems the pushiness may be tolerable since users will be attracted to the better interface functions. It also leaves you in a good position to refactor and reuse.

Coming up with new names for functionality can be a pain.

Wrappers are a simple way to extend and abstact existing code. I think your point regarding wrappers is valid but I feel that you are viewing them too negatively in this situation.

Be well,
rir

  • Comment on Re: How to avoid (or handle) module interface changes

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-25 17:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found