Mealy Machines, Moore Machines, and Why Event Sourcing Works | Dark Hacker News