12 karma · joined Jan 28, 2016 (10y ago) · 5 submissions
1.
Ask HN: What is a good percentage of Unit and Integration test coverage?
1 points · by sveri · 6y ago · 2 comments
comment 10y ago · link · parent
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/ 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
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
comment 10y ago · link · parent
That said I would rather not consume anything anymore than allowing ads again. The things that I was and am really interested in, will be saturated by buying books and the people that put up stuff for free, like I do for certain things.
Also I would pay for services I like. Byte.fm did it the right way I think. It's online radio, from the beginning on they never streamed ads and still do not do so today. Not long after I started to consume them I paid them and still do so today because I support services that explicitly do not use ads.
comment 10y ago · link · parent
TLDR; Yes, clojure is behind in regards of web development, but it is not as bad as you said. There is active work done in this area.
I totally agree with what you said. It is a general understanding in the clojure community that you compose libraries to get things done. However, for web development that still means a lot of repitition, thats why I created the closp template.
It is based on luminus (http://www.luminusweb.net/) which is a lighter "framework" with more options.
My idea was to provide one way with sensible defaults to get started in doing web stuff in clojure.
I still work regularly on it and would be happy about contributions / feature requests. Whereas regularly means in terms of months as I do this all in my spare time.
Also I am quite active in the clojure community and I know that luminus is not shunned, but instead it also receives improvements and releases regularly. Also the author of luminus works professionally with clojure and with luminus.
And I have to admit, that luminus has the far superior documentation, he has done a good job on it I think.