News for hackers. Stuff that matters.
Re:The Unsound Playground: Java and Scala's Type Systems are... by JoshTriplett on Monday November 28, 2016 @03:13AM (#13054111)
This would be fine if t's array bar only allowed mutation of the objects within the array, but didn't allow mutation of the array itself. Treating a Dog as an Animal works fine; however, you can only treat a Dog[] as a const Animal[], not a mutable Animal[].

There are no comments on this comment yet.