leocharre has asked for the wisdom of the Perl Monks concerning the following question:
I have a package called PDF::OCR which was written a while back. The module worked well for my purposes, I wanted other people to have access. I makde sure to note that it was a development version.
Later on when I had developed the code better- simplified the package- I realized that api was not compatible with the old PDF::OCR.
A number of people were using PDF::OCR, and I didn't want to release a version that would break their code. So I released PDF::OCR2, a better tool, that does the same work, better- with a differnt api.
Since, I have received various questions, complaints, inquiries as to why there is a PDF::OCR and a PDF::OCR2.
I would like to do the right thing, and release a new version of PDF::OCR with the updates.
It's going to break the code of anyone interfacing with the old version.
Should I keep things the way they are, label PDF::OCR as deprecated, or have some discipline and no mercy- and just update PDF::OCR.
I feel a little retarded that the api did not stay the same. I'm sorry. It was just a complex procedure, and I ended up separating the code into smaller and properly manageable modules.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Update module and break api, or change namespace
by eye (Chaplain) on Dec 31, 2008 at 07:58 UTC | |
|
Re: Update module and break api, or change namespace
by hangon (Deacon) on Dec 31, 2008 at 05:59 UTC | |
|
Re: Update module and break api, or change namespace
by sflitman (Hermit) on Dec 31, 2008 at 05:56 UTC | |
|
Re: Update module and break api, or change namespace
by Your Mother (Archbishop) on Dec 31, 2008 at 17:00 UTC | |
|
Re: Update module and break api, or change namespace
by puudeli (Pilgrim) on Dec 31, 2008 at 06:05 UTC | |
by Anonymous Monk on Dec 31, 2008 at 13:13 UTC |