201567 (1) [Avatar] Offline
A very good book! I enjoy reading it, and i finally got to learn about free monads in real action.
I noticed the author is using org.joda.DateTime in the events. Would it not be beneficial to use an Instant instead, so you don't have to provide timezone information when creating the event. (And one could use java.util.time.* as well)
Debasish Ghosh (111) [Avatar] Offline
Thanks for the suggestion. The idea is to give a macro level overview of the general concepts. But I agree Instant may be a better abstraction. However I used DateTime more for familiarity reasons.