Hacker News new | past | comments | ask | show | jobs | submit login

I haven't found a place that explains the big picture and how everything fits together. Is there a good resource to learn clojurescript for someone who's never done web programming and without having to learn JS?

I'm learning Clojure now (coming from years of C++) and I love it. There is a bit of black magic (lein/cider make cmake look like a shell script) but CJS is a bit daunting b/c it has so many layers. CJS on Lumo on React on JS on the DOM ... I don't actually know what any of those words mean :P




I would highly advise newcomers to CLJS to use lein cljsbuild, reagent, and the figwheel template. It is by far the most popular tooling for CLJS - although recently shadow-cljs folks have been quite loud.


I'm definitely one of shadow-cljs folks. We are trying to shorten the steps and paths people coming from JavaScript world to ClojureScript. Figwheel is a great tool, just not a perfect one to people with JavaScript background.


Could you elaborate a little bit on how figwheel is challenging for people with JS background and how shadow-cljs differs?


Try getting Figwheel to work with Emacs CIDER and Spacemacs. It's a joke. This is what you have to go through: https://github.com/bhauman/lein-figwheel/wiki/Using-the-Figw... and at the end of it Spacemacs told me cider-connect-clojurescript was not available. I'm not the only one who's given up on this. Quite a few luminaries in the Clojurescript world have abandoned Emacs/CIDER.


Configuring lein scripts. Debugging JVM problems. Guess how JavaScript developers hate JVM exceptions.


Lein is a declarative build tool. Perhaps your problem lies with not understanding how the tools work?


JVM exceptions, I hated.


Have you tried these tutorials https://github.com/magomimmo/modern-cljs ?



Thanks for making that

btw - what's the Clojure scene like in China?


Not many jobs here. We recently see a company starting meeups in Shengzhen, which can be found on http://clojure-china.org/ . Situation is getting better very slowly.

And we have WeChat group with 200+ people. There are many people interested in Clojure and some of them like me would love to try Clojure(Script) in our own projects.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: