Re: API of Tidy-lib

Robert Marquardt <[email protected]> Sat, 07 Jan 2006 12:48:13 +0100
Newsgroups gmane.comp.web.html-tidy.devel
Message-ID <[email protected]>
On Sat, 07 Jan 2006 08:09:57 +0100, you wrote:

>I don't know why we have those, and I'm all for replacing them if that
>makes our code simpler, but it would seem people depend on them by now
>and removing them would break their code...

A first step could be to introduce the parameter function and base the
current implementation on it. A simple regular expression could do the
work on the source.

Then an API versioning could be introduced. Two DLLs one implementing
the old API and one the simplified new one. Alternatively freeze this
one and start a new project.
Never be shy to use the big hammer on your project. It helps very
much. First break it to pieces and then rebuild it. 

BTW In  the Open Source project i participate in there is no binary
compatibility or API compatibility guaranteed. It makes development so
much easier.
-- 
Robert Marquardt (Team JEDI)  http://delphi-jedi.org


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click