I don't have any examples to provide, but I would highly recommend reading 
through Rich's essay on Identity and State: https://clojure.org/about/state

Bobby

On Thursday, January 11, 2018 at 12:43:00 AM UTC-5, Michael Nardell wrote:
>
> On Wednesday, January 10, 2018 at 4:56:24 PM UTC-8, Christopher Small 
> wrote:
>
> You may be right about an object-oriented approach being the most natural 
>> here. But, I'd encourage you to keep an open mind. Clojure has this 
>> particular way of encouraging you to and rewarding you for describing your 
>> problem domain in terms of pain data, and writing program logic as (mostly) 
>> pure functions around that data. 
>>
>
> Chris :: Thanks, I am hoping that you are foretelling the path I will end 
> up following. That I start with an object approach, because that is what I 
> am familiar with and have used in the past. Then find new ways of thinking 
> about the problem through through functional and Clojure programming. I 
> think a good starting point, is as you recommend, substitute maps for 
> objects in my thinking in the problem domain. I can see that I could 
> actually set-up the simulation just so, and I will have completely captured 
> the model, frozen at time t=0. Then my challenge is to write a set of 
> functions that will transition the model to time t+1. At that point I am 
> done. 
>
> Mike
>

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to