> It isn't nearly as big a deal as you think it is. I'm guessing you have a
> single file called 'fs.clj' with the namespace 'fs', right?
>
> mkdir src/fs/
> mv src/fs.clj src/fs/core.clj
>
and then edit the file and change the namespace to fs.core.
>
I know it's easy to do, I just don't think I should do it.
> Why is that such a big deal?
>
It's not a big deal. I don't get what's the big deal of doing
(require 'fs)
(fs/copy "/some/file" "/some/other/file")
> I understand that you're coming from Python, but Clojure isn't, and never
> will be Python. If you came from COBOL would you want to write your code in
> all caps? Nobody is asking you to do this for fun. This is a Clojure idiom
> that *everybody* uses, and it isn't only for you but for users of your
> code.
>
Somebody needs to be the anarchist in the group :)
I don't believe in doing things just because everybody else is doing them.
And I haven't heard a compelling
reason (IMO) so far to change. When there are logical namespaces, I'll
gladly add them. But this is just a bunch of file system
functions. Also I don't see how users of the code suffer from having one
short namespace.
I'd appreciate some comments about need functionality, bugs, code reviews
and such.
All the best,
--
Miki
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en