I wonder if a reason could be to ensure it’s obvious where a function came from? For example (foo …) is ambiguous, it could be defined in the current namespace or it may have been referred from another whereas (my-ns/foo …) is explicit.
> On May 17, 2015, at 08:04, Akiva <akiva.sch...@gmail.com> wrote: > > In Stuart Sierra's article here > (http://stuartsierra.com/2015/05/10/clojure-namespace-aliases), he recommends > to use :refer sparingly but doesn't explain why this is a good idea. Only > thing I could think of without putting too much effort into it is that it > makes it slightly more tedious when you want to use a function from a > namespace that hasn't been already explicitly referred. > > Are there no benefits other than possibly excluding function names that might > otherwise suffer a namespace clash (assuming their namespace isn't being > aliased already)? > > Thanks, > Akiva > > -- > 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 > --- You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.