4 ms·
The part of Java that I hate is having to read a whole lot of documentation about features and libraries that I do not want to use, and will strive not to use,
by brown9-2 16y ago
The part of Java that I hate is having to read a whole lot of documentation about features and libraries that I do not want to use, and will strive not to use, and that I may not even have to use, and that the best critics agree are ugly as sin and overdesigned and counterproductive, but which I still need to understand because they're the standards.
Which Java features and libraries do you need to learn how to use (even if you never need to use them) to get started in Clojure?
I ask this as someone who is completely unfamiliar with Clojure, not to be snarky. But from everything I've read, it has always sounded to me like you could get started in Clojure without knowing anything more about the Java environment other than the fact that your code is running of a JVM.
- dedward 16y agoThat's a great question, and one that it's hard to find a clear answer to - and it's exactly the kind of thing that deters n00b programmers from jumping on the language. I want to learn clojure, I don't really grok Java, and I'm not sure where to start - I don't have a clear explanation of how my clojure project fits into the JVM and how to build everything. I wish examples would start without the repl, and instead write a simple "Hello world", turn it into a jar, and then expand on that, and then introduce the concept of the repl for iterative programming. A clear explanation of where Clojure libraries sit in relation to Java libraries would help too.....
- devonrt 16y agoTo get started with Clojure you need to know much about the Java platform. The first parts of Java that you will brush up against are classpaths and dot-separated namespaces and I don't think these are overly difficult to understand. clojure.core and clojure.contrib expose most of the Java standard libraries in a Clojure-esque way.