On Thu, Oct 20, 2011 at 3:53 PM, Chris Perkins <chrisperkin...@gmail.com> wrote: > 1) Make reflection an automatic error (not even a warning), and > 2) Use another syntax (let's say double-dot, for the sake of argument) to > mean "I'm OK with this being done via reflection." > (.foo bar) => error > (.foo ^SomeType bar) => fast > (..foo bar) => probably slow
Instead of introducing a whole new (possibly confusing) syntax for reflective calls, IMHO it's better to have a var *error-on-reflection* which, when set to true will throw an error on reflection. A patch for this should be easy to implement as well. Regards, BG -- Baishampayan Ghose b.ghose at gmail.com -- 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