|
I think I'd have to hear from everyone else before I'd be willing to break compatability. Your point on generics is well made, except that with erasure, libraries should still work with older code. Changing a public method signature in a non-backwards compatible manner is a scary thing for any project - best to avoid, unless it's absolutely necessary.
BTW - I haven't dug into it, but I'm pretty sure that making HTree implement Map would not be a breaking change...
- K
----------------------- Original Message -----------------------
From: Chas Emerick <[email protected]>
To: Kevin Day <[email protected]>
Cc: JDBM General listserv <[email protected]>
Date: Thu, 27 Aug 2009 15:53:52 -0400
Subject: Re: [Jdbm-general] Why FastIterator?
Is backwards compatibility a concern? The shift to generics was certainly a breaking change....and really, I'd be surprised if anyone complained about pre-1.2 code being brought into alignment with modern idioms, etc.
Honestly, I'd love to see HTree implement java.util.Map -- which would obviously be a breaking change, but result in a huge improvement in the interoperability of the library in general.
Yes, I believe FastIterator could extend Iterator, if retaining API compatibility is important enough.
- Chas On Aug 27, 2009, at 3:20 PM, Kevin Day wrote:
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________
Jdbm-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jdbm-general |
------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________ Jdbm-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jdbm-general
