Re: why do we need a (require…)?

2012-03-24 Thread Brandon Bloom
"This is not a good idea, for many reasons, the simplest of which is: it 
makes loading a side effect of calling a function in a module. Since 
loading can have arbitrary effects, it shouldn't be implicit. This isn't 
warranted by the meager benefits it might provide." -- Rich Hickey

http://dev.clojure.org/jira/browse/CLJ-461

On Friday, March 23, 2012 4:37:15 PM UTC-7, FrankS wrote:
>
> I can see the need for refer and alias, but why can the compiler not infer 
> from the use of a fully qualified name that a namespace (or class) that is 
> not loaded yet, has to be "required"?
>
> Or did I miss anything?
>
> -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

why do we need a (require…)?

2012-03-23 Thread Frank Siebenlist
I can see the need for refer and alias, but why can the compiler not infer from 
the use of a fully qualified name that a namespace (or class) that is not 
loaded yet, has to be "required"?

Or did I miss anything?

-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