[Biojava-dev] Parser backwards compatibility
Scooter Willis
HWillis at scripps.edu
Fri Apr 13 15:33:02 UTC 2012
David
Can you give some examples of what you are trying to do for the common set
of interfaces? Each file type will typically map to a specific set of
objects that are described in the contents of the file. Not aware of any
multiple file formats that map the exact same data but in a different way.
Not sure how you would benefit from an interface where the file name would
be common but the return type would be different.
Thanks
Scooter
On 4/13/12 9:47 AM, "David Felty" <davfelty at gmail.com> wrote:
>In order to fit BioJava's parsers into a shared API, I would like to
>wrap them under a common set of interfaces. However, I foresee that
>some of the parsers will resist being wrapped, and will need to either
>be modified or rewritten. So my question is, should I keep the
>original versions these problematic parsers around for backwards
>compatibility, or can I freely modify them to fit into the new API?
>I'm afraid that the latter would break existing code, so I'm more
>inclined to do the former. However, this would mean that two different
>copies of the same parsers would exist in BioJava, which I think is
>kind of ugly. Any thoughts?
>
>Thanks,
>David
>_______________________________________________
>biojava-dev mailing list
>biojava-dev at lists.open-bio.org
>http://lists.open-bio.org/mailman/listinfo/biojava-dev
More information about the biojava-dev
mailing list