Hacker News new | ask | show | jobs
by Xorlev 4704 days ago
Hey, this is awesome. I've never been able to get too far with Clojure because of unfamiliarity with tooling and lack of desire to setup Emacs/Slime.
4 comments

Emacs + nrepl if properly set up is really the killer combo. You get instant popup-style access to documentation, auto-complete, repl and unit test integration.

with paredit the ( ) handle themselves pretty much.

I wrote up some notes on setting it up here:

http://crucialfelix.github.io/clojure/2013/05/16/learn-by-wr...

Slime is the deprecated way of working with Clojure in emacs, nrepl is the future:

https://github.com/clojure-emacs/nrepl.el

This doesn't avoid emacs though if you're not an emacs user ;)

This is loads easier to setup and works really, really well.

I'm having success introducing even my noob programmer friends to Clojure by directing them to install Leiningen (Clojure's build tool) and Lighttable (editor with integrated repl).

Generate the project skeleton:

$ lein new foobar

Open up folder `foobar` with Lighttable, and you can begin evaluating code in your source files (it starts you with foobar/src/core.clj).

And you're off.

If you're actually avoiding Emacs, Vim/Fireplace/nRepl feels pretty darn good =)