On 09/03/13 23:09, Travis Vachon wrote:
Speaking strictly for myself, but as someone who spends about half his
professional day writing Clojure: :use is dead, long live :require.
I've found using ":require [foo :refer :all]" rather than ":use foo"
has lead to cleaner, more consistent ns statements in my own code, and
I've made it a policy to convert old :use statements to ":refer :all"
whenever possible.
I've done the same thing and the ns declarations do look
cleaner...however, a cleaner ns declaration says nothing about what vars
you're bringing in. I could argue that :use :only is a lot better than
:require :refer :all....in other words, burying :use doesn't mean that
suddenly :require :refer :all is good...it is equally bad as a bare
:use... in my case though, I will most likely use all the vars
(eventually), hence my question...
Jim
--
--
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/groups/opt_out.