Re: Newbie: What's your opinion about this Clojure code?

2011-02-14 Thread Alan
Er, not sure why I thought Ken was the one answering you. Maybe it just read like him. I was referring to James, of course, since he was the only person who had answered. On Feb 14, 10:40 am, Alan wrote: > With a little practice and/or tools, you'll find you rarely have to > find the right positi

Re: Newbie: What's your opinion about this Clojure code?

2011-02-14 Thread Alan
With a little practice and/or tools, you'll find you rarely have to find the right position. Rainbow-parens is one option, which makes matching parens the same color; one that I use more often is C-M-f, which moves from the start of a sexp to its end. So if you want to put something at the end of a

Re: Newbie: What's your opinion about this Clojure code?

2011-02-13 Thread Nick Wiedenbrueck
Thanks a lot. I'll have to get used to closing all parentheses of a function on a single line, cause this makes finding the right position when editing the code afterwards a little harder. Also now I got the clojure mode for emacs (instead of lisp mode) to get the indentation right. -- You recei

Re: Newbie: What's your opinion about this Clojure code?

2011-02-11 Thread James Reeves
On 11 February 2011 20:53, Nick Wiedenbrueck wrote: > I'm just starting to get into Clojure. After implementing some > examples from various tutorials, I've tried to implement the following > simple server application. Now I'd like you to have a look at the code > and hear your opinion. What could

Newbie: What's your opinion about this Clojure code?

2011-02-11 Thread Nick Wiedenbrueck
I'm just starting to get into Clojure. After implementing some examples from various tutorials, I've tried to implement the following simple server application. Now I'd like you to have a look at the code and hear your opinion. What could be improved? What would be a more idiomatic way implement it