News for hackers. Stuff that matters.
Re:Clojure 1.3 Released by riffraff on Saturday September 24, 2011 @02:19AM (#3032666)
can anyone familiar with the matter explain the reason for this change?

    == 1.1 Earmuffed Vars Are No Longer Automatically Considered Dynamic. ==

    (def *fred*)
    => Warning: *fred* not declared dynamic and thus is not dynamically rebindable, but its name suggests otherwise. Please either indicate ^:dynamic ** or change the name.

I generally agree with the old Bertrand Meyer's advice that if you have a "you should never do X" in a language's documentation then the language should just not permit it, so this strikes me as strange.
Re:Clojure 1.3 Released by zaph0d on Saturday September 24, 2011 @02:29AM (#3032682)
Initially (1.2.x and older), all vars in Clojure were `dynamic` as in they could be rebound thread-locally. In Clojure 1.3, vars need the `:dynamic` metadata to be made dynamic. To ease the transition, in pre 1.3.0 Clojure, vars with earmuffs were automatically declared as dynamic with an warning. That behaviour is now gone in 1.3.0 and thus the new warning.
Re:Clojure 1.3 Released by gtani on Saturday September 24, 2011 @08:11AM (#3033063)
Re:Clojure 1.3 Released by riffraff on Saturday September 24, 2011 @08:33AM (#3033094)
ah, makes a lot of sense, thanks for the explanation.