News for hackers. Stuff that matters.
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").

There are no comments on this comment yet.