« Return to Thread: 2.8 collections

Re: 2.8 collections

by Ben Jackman :: Rate this Message:

Reply to Author | View in Thread

I had a few thoughts concerning some things on page 15, It's kind of long so I posted it to my blog, generally I am concerned about the mutable collections throwing UnsupportedOperationException when their hashCode method is called. (It violates the equals/hashCode contract and could be a nasty gotcha)

http://scalide.blogspot.com/2009/05/hashcode-equals-in-scala-28-collections.html

Martin Odersky wrote:
I have finished a first implementation of 2.8 collections. I'd like to
submit this as a SIP, so that it can be discussed and improved. For
practical reasons, the current design is already intregrated in trunk.
But this should not stop it from being discussed seriously.

Personally, I will let collections rest for the next two weeks or so,
because I need all my bandwidth for the Eclipse IDE overhoal.

Thanks

 -- Martin

 

 « Return to Thread: 2.8 collections