> On Tue, Dec 14, 2010 at 9:56 PM, David Nolen <dnolen.li...@gmail.com> wrote: >> On Tue, Dec 14, 2010 at 9:04 PM, Ken Wesson <kwess...@gmail.com> wrote: >>> >>> On Tue, Dec 14, 2010 at 8:23 PM, Benny Tsai <benny.t...@gmail.com> wrote: >>>> As Brian said, primitive math is now the default in 1.3. If auto- >>>> promotion on overflow is desired, you can use the +', -', *', inc', >>>> dec' functions (note the single quote suffix). >>> >>> Why was this done? I preferred having +, -, etc. DTRT in general and >>> unchecked-+, etc. for when you really needed efficient primitive math. >>> My code is littered with + but has few unchecked-+s. Which means I'll >>> have to go through it all adding little tick-marks everywhere and >>> making the math look funny to keep its behavior the same whenever 1.3 >>> is released. >> >> For quite a few good reasons, the most important being that it makes Rich >> Hickey's life a lot easier, and ours as well as a result of that. > > Breaking source compatibility with just about every single preexisting > line of Clojure code out there is supposed to make our lives *easier*? > I'd dearly love to know how -- my cousin is a stage magician and he's > always on the lookout for new tricks, so this would make a nearly > perfect Christmas present for him. :)
We are aware that this is a breaking change. :-) In addition to talking on IRC and the mailing list, we checked dozens of Clojure libraries (code review and test suite) and found *minimal* breakage. If anyone has different empirical evidence to offer, please do so. Stu -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en