On Thu, Apr 29, 2010 at 10:43 PM, David Nolen <dnolen.li...@gmail.com>wrote:

> My rule of thumb is:
>
> use + :only
> require + :as
>
> I believe this should be documented as the 'suggested usage'. As contrary
to Python where 'from module import *'(which is 'use' in clojure) is right
in there saying 'you know what you are doing', clojure's use is inviting for
newbie(import for java, use for clojure module) but it really should only be
used sparsely or qualified with [:only]

Another thing that is a bit confusing is the form different between (ns
[:use ...]) vs naked (use ...). Sometimes, not putting into a vector works,
sometimes it doesn't.

-- 
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

Reply via email to