This week's book giveaway is in the Other Open Source APIs forum. We're giving away four copies of Storm Applied and have Sean Allen, Peter Pathirana & Matthew Jankowski on-line! See this thread for details.
Mr Fogus and Houser,
Thanks for the promotion. I was impressed with the "The Clojure Philosophy" chapter, thanks to you or Manning or both for making it freely available. I have some questions:
1. Does your book have any detailed tutorial or walk-through for building a medium size Clojure application?
2. When you read the word "MEAP", do you immediately think of the Road Runner from Looney Tunes? (I mean no disrespect, I just took from your footnotes that you have a sense of humor that's great similar to mine.)
3. As I grew frustrated with some features of Java, I started looking for JVM-compatible alternatives. I discovered Scala, and I'm impressed with it. If either of you is familiar with Scala, I am curious what features drew you to Clojure over Scala. I'm not asking for a general comparison between the two languages, just what particular aspects of Clojure you personally view as essential.
Does your book have any detailed tutorial or walk-through for building a medium size Clojure application?
Chouser and I made a decision very early on that our book would most be populated by pointed examples. In other words, every example in the book is focused primarily on demonstrating the particular topic at hand. I've personally read programming language books of all styles and from my perspective I've learned more about languages when the examples are not diluted with details tangential to the language itself. I like to make a joke (but I hope the meaning is clear) that goes: we tried to write a book called "The Joy of Clojure" and not "The Joy of the settings required to connect to a MySql database".
That's not to say that such a book is not useful -- only that's not our focus.
When you read the word "MEAP", do you immediately think of the Road Runner from Looney Tunes?
I hadn't, but I think from this day forward I will... thanks a lot. ;-)
I am curious what features drew you to Clojure over Scala.
I actively use both, so maybe Chouser can chime in regarding his choice. :-)
So you're saying this, macros, that, macros, and the other thing, macros, and also macros?
I have to admit that, per the many discussions on LISP across the web, I know that macros are a major reason LISP has so many devoted fans. I'm someone who has trouble grasping the concept of LISP macros and the useful practical applications of them. Macros get a pretty good amount of coverage in your book?
Michael Swierczek wrote:So you're saying this, macros, that, macros, and the other thing, macros, and also macros?
But note that's merely why I came to Clojure. As it turns out, I don't use them all that often, and there are other aspects of Clojure that are at least as compelling and perhaps more, depending on the task at hand. Like many language features, it's hard to see how they're useful until you find yourself in a situation that would truly benefit from them. So macros get their due coverage in Joy of Clojure, hopefully in a way that will help you understand both how they work and why they're useful.