On Jun 28, 12:16 pm, Martin DeMello <martindeme...@gmail.com> wrote:
> It depends. I found the concepts pretty easy, since I have done a lot
> of functional programming, but when I was new to clojure I had a truly
> horrible time figuring out the various classpath issues needed to get
> things working.

What is it about the classpath in particular that people find
difficult? Is it that different from things like PYTHONPATH or
RUBYLIB? The main differences I can see are:

1. you don't have to worry about PYTHONPATH for a while with a
standard install, although the day will come
2. you have to understand the difference between class files and jars
(PATH vs PATH/*)

One thing I've done to make this easier is to create a clj script
that, like Python and Ruby, adds the current directory to the
classpath so you can just drop a .jar or .class file into a directory
alongside your .clj script and it will find it.

In some ways I actually find java .jar files easier to deal with than,
say, Ruby libs. With ruby libs (outside of a package manager) I have
to understand how to configure and build and install the library. With
a .jar file I just drop it in my ~/jars directory and I'm done.

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