On Thu, Jul 28, 2011 at 2:23 PM, Michal B <mibu.cloj...@gmail.com> wrote:
> Why does it have to be so complicated to use libraries?

I can't imagine it being much simpler than using Leiningen...

> To use libraries, you need to learn how to operate half a dozen build tools

Just one: Leiningen. You can learn Cake or Maven instead if you want, I guess.

> and git because each library author distributes their library differently.

Hmm, I haven't needed git for anything I'm not actually contributing
to - with the exception of ClojureScript itself (and given the state
of that, I think a "build from source" approach is acceptable for
now).

> Right? There is no need to start a project with a bunch of template files
> and an elaborate directory structure and to start configuring dependencies
> and to rely on some magic happening that makes your program run.

Well, you could download JAR files and then use the java command with
the appropriate classpath and other arguments to run your script...
but that seems more work to me than telling Leiningen which libraries
I want and then telling Leiningen to run my -main function - with
Leiningen handling all of the dependencies and the classpath stuff
etc.

I don't think I'd choose to not use Leiningen, even on a single file
project that used no additional libraries:

lein new thing
cd thing
vi s[tab][tab][tab]
...sling together some code... ZZ
lein run -m thing.core

Done!

(I know, the heresy of using 'vi'... :)
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/
Railo Technologies, Inc. -- http://www.getrailo.com/

"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)

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

Reply via email to