News for hackers. Stuff that matters.
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.
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")`
Re:The state of the Scala website and documentation by oxyclean on Tuesday October 18, 2016 @08:04AM (#12733616)
The function is simple enough that clojure doesn't make its own wrapper for it, so you wind up doing this:

(.parseInt Integer x)

That may be what he means by dive into Java.