This has been heavily discussed, and some work is underway to mitigate
it.
See http://dev.clojure.org/display/design/Loading%2C+Compiling%2C+and+Namespaces
-S
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to cloju
Even though I've written only one toy web framework in Clojure[1], (I
think) I know the difference.
Because there is documentation for use and ns, I'll add my own only :)
I interpret "(use 'ns)" as "Use 'ns namespace within *current* namespace -
from your example, 'user'. Usually for REPL.
(ns
Also in a REPL you can do the following:
user> (use 'example.core)
nil
user>
But in a source file you have to do:
(ns stuff.core
(:use 'example.core))
I think I've seen the reason for this difference once before but can
someone more learned *please* explain :)
Thanks
Nelo
Ps: this exact