Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Planning for Backwards Compatibility

by lima1 (Curate)
on Aug 20, 2007 at 12:15 UTC ( [id://633782]=note: print w/replies, xml ) Need Help??


in reply to Planning for Backwards Compatibility

A compatibility layer (either in the same package or in a new namespace) can soon become very ugly, for example when you introduce new data structures. When such an compatibility layer would be absolutely necessary, my vote is: don't do the API changes unless the refactoring is not much more than method renamings.

Another option is a long transition phase with developer releases on CPAN. When you are happy with the new API, increment the major version number and release.

  • Comment on Re: Planning for Backwards Compatibility

Log In?
Username:
Password:

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

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

      No recent polls found