Skip to content

extracts succession logic#2

Open
johnnymo87 wants to merge 1 commit intorwalters:masterfrom
johnnymo87:succession
Open

extracts succession logic#2
johnnymo87 wants to merge 1 commit intorwalters:masterfrom
johnnymo87:succession

Conversation

@johnnymo87
Copy link

This follow-up blog post is awesome, you should keep doing this!

As you mention at the end of the article:

Unfortunately, this [Chain of Responsibility Pattern] can lend to dense complexity in unraveling the steps involved in a particular decision. This can be ameliorated by logging or some form of a chain of custody ...

The wiki article you linked wasn't technical, so it left me wondering, and led me to this experiment. I extracted the succession logic because I was trying to write about it more declaratively. Of course, it's overkill in this scenario, because the succession logic is trivial ... but maybe this would be one way to handle it if it was more complicated?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant