Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Re^3: RFC: New rootlevel CPAN namespace: XHTML (mean)

by elusion (Curate)
on May 08, 2003 at 19:46 UTC ( #256652=note: print w/replies, xml ) Need Help??

in reply to Re^3: RFC: New rootlevel CPAN namespace: XHTML (mean)
in thread RFC: New rootlevel CPAN namespace: XHTML

If you take over a CPAN module that needs help, do you redesign the interface if it needs it? Breaking the interface is considered bad, I think... but sometimes it's too broken to keep.

elusion :

  • Comment on Re: Re^3: RFC: New rootlevel CPAN namespace: XHTML (mean)

Replies are listed 'Best First'.
(jeffa) 5Re: RFC: New rootlevel CPAN namespace: XHTML (mean)
by jeffa (Bishop) on May 09, 2003 at 17:59 UTC
    I was waiting for someone with more experience in this matter to answer your question ... but since no one has i will share my opinion. Breaking an interface is considered bad, unless no one was using it in the first place. At the very least, instead of simply yanking out API calls and replacing them with new ones, you should instead keep the old calls and 'deprecate' them. By this you could emmit a warning when an old API call is called, telling the module coder to instead use the new API call. Then, after some time has passed, you might get away with yanking out those old API calls.

    The idea is to first give some an indication that certain methods are going to go away -- just don't make the users have to make a trip to the local planning office cellar and have to search by torchlight for a locked filing cabinet stuck in a disused lavatory with a sign on the door saying "Beware of the Leopard" to find out that their favorite API call is being demolished to make way for a new bypass. :D


    (the triplet paradiddle with high-hat)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2023-02-01 12:41 GMT
Find Nodes?
    Voting Booth?
    I prefer not to run the latest version of Perl because:

    Results (2 votes). Check out past polls.