If I define the following generic event handler
trait Handles[E <: Event] { def handle(event: E) }
with event type\'s like this
What's the advantage of two separate handle methods?
handle
def handle(rawEvent: Event) = rawEvent match { case e: InventoryItemCreated => ... case e: InventoryItemDeactivated => ... }