The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

201567 (1) [Avatar] Offline
#1
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 (116) [Avatar] Offline
#2
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.

Thanks.