On Sat, Mar 12, 2016 at 2:42 PM, Lee Spector <lspec...@hampshire.edu> wrote:

> Is "lein new app foo" that complicated?

If I understand Paul correctly—and am not just imposing my own similar
feelings on him—the problem is not that "lein new app foo" is complicated,
it's that it creates a directory structure that is complicated for the
beginner. Clojure is by far not the worst in this regard, but a new app
creates seven folders (root, doc, resources, src, test, src/root and
test/root) and nine files (.gitignore, .hgignore, CHANGELOG.md, LICENSE,
project.clj, README.md, intro.md, core.clj and core_test.clj). This is a
lot for someone just trying to grasp "Hello, world."

The less you have to say to the student ("you can ignore all that for now")
the better. The less you have to tell the user to toggle mysterious
switches (as with the JVM stack options) the better.

What would be good would be a "lein new beginner foo" that had a truly
minimal setup. It looks like this has been tried over the years, though I
don't see any currently working templates that fit the bill. If I can't
find one, perhaps I'll build that.

-- 
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