Hi

2009/12/12 ajay gopalakrishnan <ajgop...@gmail.com>:
> Hi,
>
> I come from a OOPS (Java) world and I am used to Singletons, Inheritance,
> Statics, Interfaces etc.
> I am reading the Programming Clojure book and I understand multi-methods and
> when it is used.
> But I am still not able to see how to achieve the effects of Singletons,
> Inheritance, Statics, Interfaces etc. in Clojure. If the book explains it
> somewhere, I would be glad to get a pointer to that too.
> When I say "achieve the effects" , I am not asking if there is a way to
> define a Singleton class etc. I am asking that if the design in my head has
> all these things, how would I translate that into Clojure (some way or the
> other) or what modifications would need to be made to my design (in my head)
> to able to directly write it in Clojure terms.

I think it might be easiest to try implementing something and then ask
here or on IRC if you get stuck or if you want to know a more
idiomatic way to do it.

-- 
Michael Wood <esiot...@gmail.com>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to