Re:Why use Clojure?
by dkhenry on Tuesday December 24, 2013 @11:14AM
(#6959893)
So if thats the best list I am happy I went with Scala. Especially the Leiningen example. Is that seriously what needs to be written for a project to build ? Its as bad as maven.
[ Parent
| on HN ]
what needs to be written to create a project and build/run it is:
lein new twitter
lein run
that's it.Most of the info in this article just reflects the rightful excitement form the author, but not in any way the best or the simplest way to do things. Just take it as "I love it, let me share" vs. "Clojure is better than..."
To me it doesn't look that different than some project/Build.scala files I have had to write.
You can build a scala project with a zero line build.sbt file.
Leiningen just insists you give your project a name. But, in the common case, you used `lein new` to create your project folder, and a basic config is provided by that.
You can also build a Java project without any kind of ant/maven/shell script at all. Apples vs. oranges.
Bad? It's orders of magnitude better than Maven. It's actually as lightweight as JSON.
Re:Why use Clojure?
by mortyseinfeld on Tuesday December 24, 2013 @12:01PM
(#6960122)
A Scala guy who has to deal with SBT is complaining Leiningen? Seriously?