News for hackers. Stuff that matters.
Re:The Haskell / Snap ecosystem is as productive (or more) t... by scanr on Friday April 27, 2012 @08:53AM (#3898796)
It's amusing that in a thread about the advantages of Haskell, immutability is being identified as the largest failure a language has made.

I don't think immutable Strings are a bad idea but I do think it's unfortunate that Java:

- Made Strings immutable, used them everywhere, and only later worked out that perhaps CharSequence would have been better in a lot of places.

- Didn't provide a sensible way to handle Object extensions

Re:The Haskell / Snap ecosystem is as productive (or more) t... by ben0x539 on Friday April 27, 2012 @09:14AM (#3898857)
A class being final means that you can't derive from it in Java, not that instances of the class are immutable.
Re:The Haskell / Snap ecosystem is as productive (or more) t... by cashew on Friday April 27, 2012 @07:38PM (#3901517)
To ensure immutability of a type in Java, you typically need to prevent it from being extended.