5 ms·
I have no java (programming) experience, and it took me ~45 s: #apt-get install closure #closure user=> (+ 2 2) 4 Most of that 45 s was waiting for apt-get
by golwengaud 16y ago
I have no java (programming) experience, and it took me ~45 s:
#apt-get install closure
#closure
user=> (+ 2 2)
4
Most of that 45 s was waiting for apt-get.
Now it's not going to be this easy on platforms that don't have such nice package management (e.g. Windows). Furthermore, Raphael_Amiard makes a good point that there's a lot more infrastructure that has to go into web application development (or any other kind of application development, for that matter) than computing the sum of 2 and 2.
Nonetheless, it just doesn't seem that hard. At worst, put a "clojure /path/to/project.lisp" in rc.local or equivalent.
(Caveat: my web development experience consists entirely of a couple of toy projects I ran on my laptop for my own amusement. Take all this with a grain of salt.)
EDITed for formatting.
- 3d3mon 16y agoJust as easy for Windows. Use clojurebox. Double click the .exe file. http://clojure.bighugh.com/ http://clojure.bighugh.com/
- dedward 16y agoThe problem isn't that it's hard to get at the REPL (it's not) - it's envisioning how to use Clojure to do a full-scale web project. What's the workflow?
- eeperson 16y agoUsing Clojure actually isn't that hard. It is basically the same amount of difficulty as any other compiled language. You can basically take any text editor and do a standard 'write->compile->run'. However, most people that are familiar with Lisp, prefer a more interactive development environment that allows you to make changes to a running app. Probably the most powerful environment for doing this is SLIME in Emacs. As a result this is what is mentioned the most. I think this tends to scare people off. I don't know why the Enclojure plugin for Netbeans isn't mentioned more. It provides an interactive development environment for Clojure in package that is much easier to digest for anyone who is familiar with an IDE.
- Raphael_Amiard 16y agoThere is _no_ cloJure package, neither on debian, neither on ubuntu repos, and it's called clojure, not closure, so either you are full of shit, either you installed closure common lisp, either you have non standart repos. This is a scary example of how a post can be upvoted when _nobody_ in presence understands what they are talking about.
- mfukar 16y agohttp://bit.ly/bbzeYP http://bit.ly/bbzeYP and http://bit.ly/bB1sVG http://bit.ly/bB1sVG You could use those.