Live data from Hacker News

Clojure Programming

clojurebook.com

21–30 of 37 posts

Re: Clojure Programming

#21
post #10

Earlier quoted context omitted.

Just curious, does anyone know why O'Reilly would refuse to publish any Lisp books?

Because it takes some effort to write a good Lisp book. There are several very good books: SICP, PAIP, AMOP, On Lisp, PCL, LoL, ... Also typical Lisp hacker won't buy a slightly edited and printed version of the HyperSpec or a printed version of the SBCL manual. Add to that that Lisp made a deep dive after the AI winter and that they were sure to not sell enough copies. At that time it was also a good idea not to be…

I suspect the answer is more simple than you make out. They will not publish what they are sure will not sell.

Re: Clojure Programming

#22

Earlier quoted context omitted.

I think you'll find Clojure to be superb in the web space. I've never been a ruby guy, but I did spend a lot of time with python in web dev, and Clojure compares very, very well IMO. In short, all the creature comforts of ruby/python + an efficient runtime + an unbeatable selection of libraries.

Thanks! This and the other comments in the thread are definitely motivating me to check out clojure. My dream of the moment is to make my command-line text-based game playable through a web front end and deployed to heroku using the clojure buildpack. I think that will give me at least, like, 5 geek points.

I actually wasn't aware of the 'clojure buildpack' until you mentioned it. All I've ever done to put Clojure/Ring apps on Heroku is add a one-line Procfile to my Leiningen project, and `git push heroku`. :-)

Re: Clojure Programming

#23
post #5

Does anyone know of a good web framework for Clojure? Perhaps a rails of django equivalent? I love using Java for the exact reason the author claims Clojure is so powerful--the magnitude of libraries. If a decent web framework is available, then I would be inclined to give it a go.

If you love Java and want a magnitude of libraries, and don't have any particular attachment to Lisp syntax or dynamic typing (which 'love Java' seems to imply), then it would benefit you to check out the Play [1] and Lift [2] frameworks as well. Lift is Scala-based but is 100% interoperable with Java libraries, and Play apps can be written in either Java or Scala and is also 100% interoperable with Java. Play is quicker to learn, Lift has superb built-in security and very easy Ajax/Comet.

1. http://www.playframework.org/

2. http://liftweb.net/

Re: Clojure Programming

#24
post #10

Earlier quoted context omitted.

Because it takes some effort to write a good Lisp book. There are several very good books: SICP, PAIP, AMOP, On Lisp, PCL, LoL, ... Also typical Lisp hacker won't buy a slightly edited and printed version of the HyperSpec or a printed version of the SBCL manual. Add to that that Lisp made a deep dive after the AI winter and that they were sure to not sell enough copies. At that time it was also a good idea not to be…

I suspect the answer is more simple than you make out. They will not publish what they are sure will not sell.

LISP

Re: Clojure Programming

#25
I have been interested in learning Clojure for some time (spent many years as a Java dev, and intrigued by the chance to develop again on the JVM and learn a Lisp style language). This is a resource I have bookmarked as potentially helpful when I get around to learning: http://blackstag.com/blog.posting?id=5

I haven't had the chance to check it out yet so can't vouch for quality. But it seemed that a few people on the thread are considering getting into Clojure, so I thought I'd share.

Re: Clojure Programming

#26

I have been interested in learning Clojure for some time (spent many years as a Java dev, and intrigued by the chance to develop again on the JVM and learn a Lisp style language). This is a resource I have bookmarked as potentially helpful when I get around to learning: http://blackstag.com/blog.posting?id=5 I haven't had the chance to check it out yet so can't vouch for quality. But it seemed that a few people on th…

Thanks for sharing. I've recently dived in too, here's some resources I'm using:

https://github.com/functional-koans/clojure-koans http://www.4clojure.com/ http://www.amazon.com/Joy-Clojure-Thinking-Way/dp/1935182641...

Re: Clojure Programming

#28
post #5

Does anyone know of a good web framework for Clojure? Perhaps a rails of django equivalent? I love using Java for the exact reason the author claims Clojure is so powerful--the magnitude of libraries. If a decent web framework is available, then I would be inclined to give it a go.

If you love Java and want a magnitude of libraries, and don't have any particular attachment to Lisp syntax or dynamic typing (which 'love Java' seems to imply), then it would benefit you to check out the Play [1] and Lift [2] frameworks as well. Lift is Scala-based but is 100% interoperable with Java libraries, and Play apps can be written in either Java or Scala and is also 100% interoperable with Java. Play is qui…

Thanks SkyMarshal, I use Play all of the time. I've never tried Lift though--I might give that a go soon as well. I'm curious about whether or not there is a framework of Clojure however. From the responses, it seems like Noir is the popular solution these days :-)

Re: Clojure Programming

#29

Earlier quoted context omitted.

If you love Java and want a magnitude of libraries, and don't have any particular attachment to Lisp syntax or dynamic typing (which 'love Java' seems to imply), then it would benefit you to check out the Play [1] and Lift [2] frameworks as well. Lift is Scala-based but is 100% interoperable with Java libraries, and Play apps can be written in either Java or Scala and is also 100% interoperable with Java. Play is qui…

Thanks SkyMarshal, I use Play all of the time. I've never tried Lift though--I might give that a go soon as well. I'm curious about whether or not there is a framework of Clojure however. From the responses, it seems like Noir is the popular solution these days :-)

Ok, cool. It wasn't clear whether you wanted Clojure-only, or might be interested in other acceptable JVM-based ones. As for Lift, the folks on the mailing list (liftweb @ Google Groups) are very helpful when it comes to figuring out whether Lift is appropriate for any given project or not (basically, do you specifically need its features and have a developer team with the ability and bandwidth to ramp up quickly enough for your deadline).

PS - nothing against Clojure, not trying to hijack this whole thread, just add to it. Clojure + Scala makes the JVM a truly awesome platform. The power and features of both Lisp and ML, the brevity of both.

Post reply on HN