Clojure/Clojurescript thread.
Who else uses Clojure/script?
I've pretty much abandoned OOP, fell in love with Clojure, other LISPs, and Haskell.
>>60990692
I might try to get into fucntional programming, but the I/O methods just seem plain autism
>>60990740
Clojure io is actually WAY easy.
https://clojuredocs.org/clojure.core/slurp
Slurp just grabs whatever, spit just throws whatever out, this goes on. It's mostly Haskell IO that's autistic in my experience.
Trying to find a decent way to learn it. Brave and true is too reddit 4me.
>>60990789
Cool, I might learn closure and then Haskell.
>>60990884
It took me less than a week to get pretty comfy, I just googled questions I had. I did have brave and true, but I mostly just referred to it when I needed to instead of reading the whole thing.
>>60990692
i tried to get into it some time ago, i still do tutorials whenever i have spare time
it just is daunting to try and do a web app in this language when i've reached comfyness using traditional java frameworks, even tho clojure is sexier
>>60991055
on this topic what libraries / tools do you guys use for web development with clojure ?
>>60990692
Clojure is shit
https://axisofeval.blogspot.com/2010/04/why-i-ignore-clojure.html
>>60991055
I've never done a web app in Java, but getting a single page app going in Clojurescript is easy as fuck, writing rest services in Clojure is easy as fuck, it actually seems to be something you could learn and demo in less than a day's work.
With clojurescript you just need things like Reagent, Re-Frame, cljs-http, etc.
Clojure has stuff like liberator and etc for rest, as well as the plethora of libraries it has for anything and everything else.
>>60991084
As a continuation of ^, I switch between Emacs and Cursive as my environment. My most used Clojure/script libs are things like Reagent, Re-Frame, Monger, Secretary, Compojure, Ring, Buddy/Friend, and etc.
Lisps are for fags.
Both the languages and speech impediments.
>>60991121
That article honestly raises some valid points, and I respect the opinion, but while Clojure is *a* Lisp, it's not *the* Lisp. It's on the JVM for fucks sake, it's not trying to be from the Ivy's, it's trying to be a better alternative to the shit we use today. At that, I think it wins.
>>60991130
thanks for the tips
you're right i should just do a fucking webapp already, it'd be a faster way to learn