News for hackers. Stuff that matters.
Re:Clojure 1.4 released by technomancy on Wednesday April 18, 2012 @12:21PM (#3858716)
Instant literals returning java.util.Date instances are a great way to sneak bugs into a codebase that uses immutable values everywhere else.
Re:Clojure 1.4 released by tensor on Wednesday April 18, 2012 @01:11PM (#3859015)
The mutable methods of the Date class all look to be deprecated. No?
Re:Clojure 1.4 released by technomancy on Wednesday April 18, 2012 @04:26PM (#3860000)
That doesn't stop them from being called. As soon as you introduce an object like this, you throw a bunch of important guarantees about your code out the window.
Re:Clojure 1.4 released by moomin on Thursday April 19, 2012 @03:04AM (#3861774)
True. At least in Clojure you can change the default behaviour.