Second attempt at multiple events from handlers was getting over-complicated.
-
Second attempt at multiple events from handlers was getting over-complicated. At some point I'll get the NonEmptyVec I need to do it properly, but not right now.
-
:PUA: Shlee fucked around andreplied to Colin last edited by
@abstractcode we deserve better handlers... wait.. what are you talking about?
-
Colinreplied to :PUA: Shlee fucked around and last edited by
@shlee I am over-engineering a project to learn rust. The handlers are callbacks that implement business logic, the output of which is an option event* and some kind of response structure. The event (if present) gets passed to things that persist it and update various projections.
Is this a good idea? No.
*there are technicalities but you do not need to care.
-
:PUA: Shlee fucked around andreplied to Colin last edited by
@abstractcode A long time ago I decided not to learn code more than very loosely... because I wanted to fit other things in my brain
but rust feels like it's the next big thing so I wish I had time or energy.