6 ms·
Starting Clojure (mk. 2)
- SatvikBeri 15y agoThank you! I've been playing around with Clojure, because it's just so much fun, but setting up a development environment has been a nightmare (not in the least part, because, well, I've never seriously programmed in non-data/stats languages). I've been using ClojureBox, but that obviously has limitations. Keep up the great work!
- cemerick 15y agoClojureBox is unsupported at this point AFAIK. If you want to stick with emacs, then using it in conjunction with SLIME and Leiningen has never been easier: http://dev.clojure.org/display/doc/Getting+Started+with+Emacs http://dev.clojure.org/display/doc/Getting+Started+with+Emac... If you're not committed to emacs, then there's plenty of other editors and IDEs that have quality Clojure support. It's worth experimenting a bit to find one you like. And, thanks. :-)
- th0ma5 15y agoI have been liking Clooj. It has almost nothing that most traditional IDEs have. I would like to see perhaps syntax highlighting, but it does highlight parens. The fact that it is only, for, and by Clojure though makes it pretty awesome. So it is somewhat minimalistic in that it only has what you need, and that's pretty great.
- ConstantineXVI 15y agoFor what it's worth (relatively new to Clojure), I've enjoyed using IntelliJ with Clojure. Tried using emacs for a while but I'm hooked on vi-style bindings and evil-mode (+ emacs's unconventional ways in general) just didn't cut it for me.
- robertfw 15y agoIve recently been working with SublimeText2. Yesterday I wanted to give Clojure another try, so I had a look and found the SublimeREPL plugin. It provides REPLs for several languages, Clojure included. It was very quick and easy to setup, I had it up and running inside of a short lunch break.
- frou_dh 15y agoHey, that's cool. I previously hacked up integration that sniffed for an existing JVM ran from the project directory and its REPL listen port, then sent text over telnet to it. Was too rough to use comfortably.
- base698 15y agoWhat's wrong with VIM and a good alias?
- cgag 15y agoI found trying to get vim and clojure working together to be pretty painful. Right now I just use emacs w/ swank clojure, but with evil mode and a config that pretty accurately emulates my vim set up.
- cgag 15y agoI found trying to get vim and clojure working together to be pretty painful. Right now I just use emacs w/ swank clojure, but with evil mode and a config that pretty accurately emulates my vim set up.
- cgag 15y agoI found trying to get vim and clojure working together to be pretty painful. Right now I just use emacs w/ swank clojure, but with evil mode and a config that pretty accurately emulates my vim set up.
- deleted 15y ago[deleted]
- SatvikBeri 15y agoI love Vim but couldn't get it to work with Clojure. I'm very inexperienced as a programmer, so there may be something obvious that I'm missing.
- peteysd 15y agoI cannot wait to play with Clojure using Light Table (http://www.kickstarter.com/projects/306316578/light-table http://www.kickstarter.com/projects/306316578/light-table). I only wish that the timeline for delivery was shorter. I have trouble being patient...
- TheSmoke 15y agoi believe vim + leiningen does it :)
- raju 15y agoThank you cemerick! I was hoping to catch your first screencast with O'Reilly, but only managed to catch the last 20 minutes - So this makes me especially happy. On a side note, your book is fantastic - I have pretty much all the Clojure books out there, but I really like the job you and your co-authors have done. Thanks for all the work, and keep it up.
- cemerick 15y agoThank you for the kind words. I'm glad to have been able to take a second swing at the content. I hope you find it helpful.
- tutysara 15y agoI couldn't join the live session due to a flaky 3G connection. Thanks for coming up with this and posting this even before the recording was available from Oreilly. I am going through your book and liking it so far, this is a wonderful opportunity to see you in action.
- exim 15y agoI really don't get this hype about lisp-like languages. I think Scheme is the only language who is more or less acceptable for such a role. Others (including Common Lisp) are just too complex for writing in them ASTs (yes, S-expression is AST...).
- exim 15y agoWow, downvotes were faster than bullet. Care to elaborate?
- Jach 15y agoThe likely cause here is a double-whammy of complaining about downvotes in a child comment, and a form of "what is posited without evidence can be rejected without evidence" that maps to downvoting comments without elaboration. What exactly makes you think the way you think regarding Common Lisp vs. Scheme vs. Clojure? What's a crowning example of Scheme's superiority over at http://hyperpolyglot.org/lisp http://hyperpolyglot.org/lisp ? Have you even read about what makes Clojure different from CL or Scheme so that you have an informed opinion? Not a bad place to start would be the official website, or perhaps the long article here: http://java.ociweb.com/mark/clojure/article.html http://java.ociweb.com/mark/clojure/article.html
- exim 15y agoYes, I know what differentiates Clojure from CL (or Scheme). What I'm saying is that it is possible to have most part of these goodies in non S-expr language. Except maybe homoiconicity and advanced macros (Although being S-expr is not required for homoiconicity (e.g. Prolog)).
- xaa 15y agoWell, your second statement was not really accurate or even really coherent. CL and Clojure both have relatively simple syntax compared to most mainstream languages because of their use of S-expressions. Although reader macros mean they aren't purely S-expressions. But the main reason that you're being downvoted is because this site tends to attract Lisp aficionados. Paul Graham is well-known for claiming that Lisp is better than all other languages: http://www.paulgraham.com/avg.html http://www.paulgraham.com/avg.html
- rmanocha 15y agoThanks cemerick. I'm still watching this screencast, so not sure if you get into this here, but if not, I have a request :) I've been trying to understand how to do concurrency in Clojure - but haven't found any good guides - any chance you'd do a screencast on this topic as well?
- spacemanaki 15y agoThis is old, but great: http://blip.tv/clojure/clojure-concurrency-819147 http://blip.tv/clojure/clojure-concurrency-819147
- rmanocha 15y agoNice, watching it now. Thanks for the link!!
- cemerick 15y agoI probably won't get into anything as nuanced as concurrency in a screencast format. We certainly get into it in detail in the book. The presentation that Rich Hickey did some years back is still relevant though (helpfully linked by spacemanaki in another reply — and originally recorded near here in Northampton, MA :-D).
- beggi 15y agoThanks so much for this! I tuned in to the webcast at O'Reilly but their Flex app was failing me, I couldn't ask questions in the group chat, couldn't see the screencast at O'Reilly although I did manage to see it at Livestream but I couldn't read anything because of small text. So yeah, I tuned out pretty soon, but this is fantastic.
- calebmpeterson 15y agoThank you for pointing out to an avid CCW user that the Leinginen Support plugin had been released (not sure how I missed that by two weeks).
- pjmlp 15y agoGreat tutorial! Many thanks for your effort.