On Mar 28, 2012, at 3:15 PM, Phil Hagelberg wrote:

> ...
> In general though I recommend simply using :require :as for
> everything; if your code won't compile without the :as alias in place
> then you'll be safe.


I realize that's a pragmatic way to force compilation errors.

However, I thought of using FQNs as a best practice as it's always clear which 
entity you're refering to as it's… fully qualified. 

Then only use require…:as if it becomes too tedious to write the full fqn, and 
only use "refer/use" if even that becomes too much of a pain.

Wouldn't it be better to have the compiler or (load-file) generate an 
error/warning, as it should be able to detect a missing require?

-FrankS.

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