And I encourage you to do so: everything that can help bridge the gap
between "Java's way of programming things" and "Clojure's way of programming
things" will be benefitial to everybody.

2009/12/13 Laurent PETIT <laurent.pe...@gmail.com>

> Ajay,
>
> It seems to me your questions are totally justified. It's a normal reaction
> to try to make links between things you know and things you discover.
> Fortunately, the world doesn't expect you to forget everything you've done
> in the past in order to try new other things.
>
> Your questions, to be answered well (in deep detail, not just at the
> surface of things, and with sufficient examples so that you just feel
> "dump", with answers like "I know how to do, you'll eventually know too" -
> sort of -), would deserve a book on its own : "From java to clojure : Design
> patterns revisited", or something like that.
>
> The problem is, from each thing you pointed, one needs to go back to the
> underlying need, and from that need, go back to the underlying software
> principle. And then, from that, one can derive the software principle in
> clojure, show the several ways to do, etc. ....
>
> So there's really no problem with your questions, apart the fact that
> they're certainly too general to get a comprehensive answer.
>
> I (as other already did in this thread) encourage you to experiment with
> some concrete examples. It will be easier for you to get precise answers.
>
> HTH,
>
> --
> Laurent
>
> 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.
>>
>> Thanks,
>> Ajay G.
>>
>> --
>> 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<clojure%2bunsubscr...@googlegroups.com>
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>>
>
>

-- 
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