On Sat, Jul 30, 2011 at 7:58 AM, Mark Rathwell <mark.rathw...@gmail.com> wrote:
> Maybe a Clojure installer for
> Mac/Windows/Linux, that installs a clj executable on the path

This was actually how I started with Clojure on Mac OS X (I think the
project was Clojure-MacOSX or something like that) but I quickly found
it was clunky and actually did _not_ match my normally way of working.

FWIW, Leiningen is essentially a central install with all the basic
scripts built in.

On Sat, Jul 30, 2011 at 8:24 AM, Mark Engelberg
<mark.engelb...@gmail.com> wrote:
> 95% of the time, I just want to open a
> file, write some Clojure code, and interactively test it in a REPL.

Really? Genuine question.

I spend 95% of my time maintaining a 70kloc project (of which ~1,500
is currently Clojure but that's growing and the overall project line
count is shrinking as the amount of Clojure grows). I always have the
project's REPL running in my IDE so I can interactively test code
anyway. The other 5% I work in one of the various REPLs I keep open in
terminal windows (at least one for each of Clojure 1.2 and 1.3).

> And yes, there are certain libraries I tend to use, and I want them to
> always be available.

Once you've used a library, it'll be in your local repo so just adding
the dependency to a scratch project - even if it ends up with a slew
of dependencies - is a quick edit and a very quick lein deps and
you're good to go.

> Then I have to lein deps and
> wait 10 minutes for it to download the universe.

Most new libraries download in a few seconds and once they're local
there's no download overhead (unless you're using snapshots and the
latest version check has to be performed).

> Then I can lein
> swank, and connect to it from emacs, all so that I can start editing a
> file with the right classpaths, and play around with it in the REPL.

I can only attest to Eclipse/CCW but running a REPL with the right
classpath is pretty straightforward.

I hear what folks are saying and I wonder if this all comes down to
expectations based on whether folks come from a JVM background? After
working on the JVM for about 14 years, Clojure, Leiningen and
Eclipse/CCW is about the simplest development setup I've ever had.
Perhaps this is just the price we pay for living on the JVM?

Michal, what's your language background? I see Mark R and Mark E
referring to Python so I can see their point of view on that
comparison.
-- 
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)



> its own directory that it adds to the classpath when it is run, where you
> could install jars (maybe using a lein plugin) that would be available
> globally, and not interfere with the current standard.  But that is yet more
> choice to overwhelm user, so I don't know.
>  - Mark
>
> On Sat, Jul 30, 2011 at 5:31 AM, Michal B <mibu.cloj...@gmail.com> wrote:
>>
>> This discussion is getting a lot of "What are you talking about? Leiningen
>> is what you're looking for!" replies. I know. I'm a happy lein user, and use
>> it and clojars frequently with some of my larger projects. I'm very grateful
>> for the work Phil and the other contributors did. It helped me tremendously.
>> There's no need to get defensive. As I tried to emphasize several times in
>> my post, this was not an attack on lein or other build tools - they
>> certainly have their place in the development process. I was trying to get a
>> discussion going on the current library situation, which I think if everyone
>> took back a step they'd agree is far from ideal. Lein is a remedy, but not a
>> solution. Is lein as good as it gets?
>>
>> Instead of iterating what's available today and how much better it makes
>> things (I know), I hope we can question our assumptions about how things are
>> and get a discussion going on how to make things better. If not for
>> simplicity, do it for the new users who today when visiting the Getting
>> Started pages are overwhelmed by rampant choice and endless technical
>> procedures.
>>
>> --
>> 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 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



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