3 ms·
I'm kind of in the same boat. There are plenty of resources for learning Clojure, but I haven't found any that help with the transition from object oriented pro
by jm4 17y ago
I'm kind of in the same boat. There are plenty of resources for learning Clojure, but I haven't found any that help with the transition from object oriented programming to functional programming. I read Programming Clojure and I feel like I know the language, but I'm still working on thinking in terms of functional programming. Interestingly, Programming in Scala has helped some. The hybrid functional/object oriented approach has helped introduce functional concepts with a language that doesn't seem so foreign. It can be difficult to pick up a completely different language (different from C-like languages, anyway) as well as a new programming model at the same time. JavaScript: The Good Parts is also good for the same reason.
There's also an F#/C# book scheduled to come out later this year that looks like it might be good for learning the functional thought process: http://www.amazon.com/Functional-Programming-Real-World-Examples/dp/1933988924/ref=sr_1_2?ie=UTF8&s=books&qid=1248098702&sr=8-2 http://www.amazon.com/Functional-Programming-Real-World-Exam...
I found this blog post from Stuart Halloway to be informative as well: http://blog.thinkrelevance.com/2008/9/25/pcl-clojure-chapter-17 http://blog.thinkrelevance.com/2008/9/25/pcl-clojure-chapter...
- jm4 17y agoStuart Halloway (author of Programming Clojure) came up with a rewrite of Uncle Bob's bowling game: http://github.com/stuarthalloway/clojure-bowling/tree/master http://github.com/stuarthalloway/clojure-bowling/tree/master