Indexing access for Lists and Maps considered harmful?

Neal Gafter neal at gafter.com
Wed Jun 24 12:37:04 PDT 2009


On Wed, Jun 24, 2009 at 12:25 PM, Reinier Zwitserloot <
reinier at zwitserloot.com> wrote:

> Neal, your conclusion that, instead of combining a set/put and a get call,
> we need a new interface / desugaring to a method you then statically import
> / extension method in / etc - which has a single call that takes in a value,
> and returns the post-conversion representation of that value, cannot be
> reconciled with java.util.List, nor with java.util.Map, without breaking
> backwards compatibility.


I've already shown how to retrofit that solution to List and Map without
breaking backward compatibility.



More information about the coin-dev mailing list