Re:The state of the Scala website and documentation
by cutler on Monday October 17, 2016 @05:48PM
(#12730102)
I've been using Clojure happily for years without needing to dip into Java for anything other than something like parseInt(). Leiningen is a joy to use compared with anything Scala has to offer and Clojure also has its own library repository. When I asked on IRC where to find Scala libraries I was advised to go scavening on Maven Central. Jeez.
[ Parent
| on HN ]
Re:The state of the Scala website and documentation
by amelius on Monday October 17, 2016 @06:35PM
(#12730438)
> I've been using Clojure happily for years without needing to dip into Java for anything other than something like parseInt()
You needed to dive into Java to figure out something as basic as parseInt?
Re:The state of the Scala website and documentation
by cutler on Monday October 17, 2016 @06:47PM
(#12730517)
I said "dip into", not "dive into" and by dip into I meant discovering I needed Java rather than a Clojure function.
Re:The state of the Scala website and documentation
by amelius on Monday October 17, 2016 @07:24PM
(#12730740)
I didn't mean to offend you. I don't know Clojure or Java, and was just wondering why you need to look into the internals of Clojure for something as basic as parseInt.
Re:The state of the Scala website and documentation
by jakebasile on Monday October 17, 2016 @08:00PM
(#12730927)
Clojure.core doesn't have a parse integer function. You use Java interop to get one. It's as simple as '(Integer/parseInt "42")'
Re:The state of the Scala website and documentation
by puredanger on Friday October 21, 2016 @11:05AM
(#12761020)
You can use the built-in read-string too to generically read a string as Clojure data: `(read-string "42")`