3 ms·
Yes! I've tried so many times to get started with Clojure and Clojurescript, and when I'm trying to set up the environment from scratch (because to learn it I
by 1_player 10y ago
Yes!
I've tried so many times to get started with Clojure and Clojurescript, and when I'm trying to set up the environment from scratch (because to learn it I have to understand how all pieces fit together) I just get hopelessly lost. Broken deps, files to edit to make the Emacs REPL work correctly, snippets of code I have to add here and there to create a simple project.
And last time I checked, now there's this Boot tool to learn, to choose and to understand (and to debug its stacktraces) instead of Leiningein -- ARGH.
I grok a fair share of languages but there's nothing like Clojure, ClojureScript and Javascript to make me feel like an _idiot_. I don't like that feeling.
For the love of $DEITY, language designers, learn from Go: they have an up-to-date spec, an up-to-date "Effective $LANG" document and one (1) simple, official and maintained build tool. Otherwise you're just, as we'd say in Italy, brushing dolls.
- sveri 10y agoPlease have a look at this video: https://www.livecoding.tv/sveri/videos/wrnL1-clojure-closp-webframework-41 https://www.livecoding.tv/sveri/videos/wrnL1-clojure-closp-w... I made it to show how easy it is to get started with clj / cljs web development. It uses closp, which covers everyhting from configuration to front / backend work, migration, tests, selenium tests, template generation and so on. Also have a look at the intro: http://closp.net/pages/closp-intro/ http://closp.net/pages/closp-intro/ which shows how you can get started with 5 commands in the console (given you have leiningen / jdk installed, which would be two more steps, if not). There is also the possibility to run lein uberjar from the project and get a standalone jar with webserver and compiled clojurescript generated. Then there is luminus which is somewhat similar and provides much of the same featureset and has a great documentation: http://luminusweb.net http://luminusweb.net Regarding boot I agree with you, its confusing to have two build tools. It adds some features that leiningen does not provide and for which there was a need. That said, the number one build tool is still leiningen. Stacktraces are aweful, agreed too, there is no satisfying solution to it that I know. Well, Go, does it have generics? :D