Indexing access for Lists and Maps considered harmful?

Stephen Colebourne scolebourne at joda.org
Tue Jun 23 13:23:32 PDT 2009


Joshua Bloch wrote:
> I think it's *critical* that the behavior be defined to match the "expected"
> behavior.  These *must* function identically:
> 
>    myArray[i] = myArray[j] = val;
> 
>    myList[i] = myList[j] = val;

+1. I find this essential.

Stephen



More information about the coin-dev mailing list