Re: Advice for someone coming from an OO world?

2009-12-20 Thread ajay gopalakrishnan
I don't know if anybody mentioned this before, (it was not suggested to me when I asked a similar question earlier), but Stuart's explanation on OOP in Clojure is the best I've ever found. It's simple, clear and takes on each of the 4 pieces nicely. http://blog.thinkrelevance.com/2009/8/12/rifle-o

Re: Advice for someone coming from an OO world?

2009-12-19 Thread Mike Meyer
On Fri, 18 Dec 2009 08:55:13 -0800 (PST) IslandRick wrote: > Can anyone here offer some advice to those who are too ingrained in > using an object-oriented hammer on every nail they see? I know Rich > and Stuart have some good design examples around (I've read many), but > if there are any tutori

Re: Advice for someone coming from an OO world?

2009-12-19 Thread Joost
Oh and another thing: In my experience, it's easier to start by putting all the code in a single package, and only split it up once you get to a level of complexity that really demands splitting it up. Emacs/SLIME (and probably other interactive environments) really help too: once you've written/

Re: Advice for someone coming from an OO world?

2009-12-19 Thread Joost
On 18 dec, 17:55, IslandRick wrote: > Can anyone here offer some advice to those who are too ingrained in > using an object-oriented hammer on every nail they see?  I know Rich > and Stuart have some good design examples around (I've read many), but > if there are any tutorials that show how to re

Re: Advice for someone coming from an OO world?

2009-12-19 Thread Laurent PETIT
If you could share more detail, the end result of helping you could be interesting : both versions (OOP & clojure) of a same program. 2009/12/18 IslandRick > Up until a month ago, my total Lisp experience consisted of hacking > my .emacs file to bend it to my will -- a lot. Discovering Clojure

Re: Advice for someone coming from an OO world?

2009-12-18 Thread Sean Devlin
This came up on the group recently. There was a lot of discussion here: http://groups.google.com/group/clojure/browse_thread/thread/c30e313ca2b0ee29# On Dec 18, 11:55 am, IslandRick wrote: > Up until a month ago, my total Lisp experience consisted of hacking > my .emacs file to bend it to my wi

Advice for someone coming from an OO world?

2009-12-18 Thread IslandRick
Up until a month ago, my total Lisp experience consisted of hacking my .emacs file to bend it to my will -- a lot. Discovering Clojure was amazing. I immediately liked several aspects of it, especially how compact it feels and easy it is to do complex functional tasks. I decided the best way to