Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't want to start flame war on lisp syntax again, but you may find clojure syntax more usable/readable after installing proper plugins for managing lisp code. Personally (as an emacs user) use highlight-parentheses-mode (each level of nested parens gets a different colour) and paredit (provides closing paren for each new you open, helps with joining/splitting expresions). I know there are also similar plugins for vim and eclipse (I'm not sure about paredit here). I was actually surprised when I started using them how much they help me.


I started emacs with clojure too. Paredit reallly rocks and is really easy. Some paredit function are so useful that I use paredit for other languages to here is the chatcheat http://www.emacswiki.org/emacs/PareditCheatsheet.

Emacs has paredit or like 90% of it. Its written in clojure and you can use it as a library (https://github.com/laurentpetit/paredit.clj).

Im not sure about vim. It has nice rainbow parens (each level of nested parens gets a different colour).


I use VIM to code in Clojure. I don't have paredit [1] but I don't find it really necessary, I can live just with rainbow parentheses and paren-matching (not to say that I would not find it useful if I had it).

[1] When I set up my Vim for Clojure development I made some research and I never saw it mentioned anywhere, so I think it's not available.


I am pretty sure there is paredit-like mode for vim, because I actually used it for some time. It seems that it is part of slimv [1] now, however I recall using it without setting up slimv.

[1] http://www.vim.org/scripts/script.php?script_id=2531


Check out VimClojure http://www.theamericanscholar.org/the-disadvantages-of-an-el... comes with rainbow parens and some parts of paredit if I am not correct.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: