Skip to content

Side Effects #163

Answered by brendt
eballeste asked this question in Q&A
Discussion options

You must be logged in to vote

Is this only the case when using dependency injection in transition classes?

It's usually a good indicator, since many dependencies mean many things happen within that class.

What are the pitfalls of using too many custom transition classes for the side effects?
How can you tell when you have too many?

I can't say anything to the amount of transaction classes. If your business requires many transactions then you can't prevent that

What are some examples of an event-based system? Is this some type of pattern? Is it meant to replace the state machine pattern or work together with it?

I was thinking about event sourcing and using aggregate roots as standalone state machines. I can't go…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by brendt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants