stu said: Suggestions from Volkan Yazici:
I saw your "load/ns/require/use overhaul" ticket and would like to
ask for a few extra overhaulings. I have a project called retop, and
here is its file hiearachy:
In retop.clj, I have below ns definition.
And in every .clj file in retop/ directory I have below in-ns in the
very first line.
The problems with the ns decleration are:
1) Most of the :import's in retop.clj only belong to a single .clj file.
imports are only used by graph.clj. Yep, I can add an (import ...)
line just after the (in-ns ...), but wouldn't it be better if I can
specify that in (in-ns ...) form?
2) See (:load ...) clause in (ns ...) form. There are lots of
unnecessary directory prefixes. I'd be prefer something ala Common
"packages" ; packages.clj
"util" ; retop/util.clj
"km" ; retop/km.clj
"graph" ; retop/graph.clj
"foo" ; retop/graph/foo.clj
"bar) ; retop/graph/bar.clj
"main")) ; retop/main.clj
Also, being able to use wildcards would be awesome.
3) There are inconsistencies between macros and functions. For instance,
(ns foo.bar.baz (:use mov))
I'd like to get rid of quotations in both cases.
I'm not sure if I'm using the right tools and doing the right approach
for such a project. But if you agree with the above overhauling
requirements, I'd like to see them appear in the same assembla ticket as