News for hackers. Stuff that matters.
Re:Why the world needs Haskell by laureny on Wednesday July 10, 2013 @02:36AM (#6017847)
C++ walked in these very same footsteps. First by not having const, then by having it, then by allowing exceptions to constness, then by introducing const_cast and finally by allowing temporarily mutable const objects.
Re:Why the world needs Haskell by epsylon on Wednesday July 10, 2013 @08:14AM (#6018953)
C++ const is defective because it's a shallow const. You can modify an object through a const pointer.

The D language "fixes" this by making const transitive (and also adding an immutable annotation, which means the object is truely read-only, as in "read-only memory").