Hi Marc,
"But the domain model I'm thinking of has lots of mutable things that
change over time when I execute the business actions."
In your case, you don't need any STM to model any of your domain. I'd go
so far as to say that to use refs for this is almost certainly a mistake.
"Of course the
I find the modelling Clojure data structures very similar to working out
what your aggregates roots are for domain-driven design or using a document
data store.
I would suggest avoiding using refs in a customer map. In this case, it
sounds like customer is your natural aggregate root, so you shoul
Hello,
I'm trying to implement some business model in Clojure. I have several
years of experience developing OO systems in Java. So it's still very hard
to wrap my head to functional thinking. I hope you can help me with
following questions.
I need a domain model for customers, contracts and f