I often group functions that operate on similar data structures together in 
a namespace. This isn't always clear-cut, because some functions may "fit" 
in more than one namespace. I sometimes use a (soft) convention to group 
functions by the first argument. Yes, this means that my Clojure projects 
resemble OO projects, at least in terms of what logic goes where. See what 
works for you.

Some Clojure projects I see use fairly long files. I tend to prefer smaller 
files myself. In my opinion, just as a function that is too long often 
indicates unnecessary complexity, I think files/namespaces that are too 
large indicates a complicated design.

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to