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?
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.
[ Parent
| on HN ]
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.