Top "Chain-of-responsibility" questions

Design pattern consisting of a source of command objects and a series of processing objects.

Avoiding instanceof in Java

Having a chain of "instanceof" operations is considered a "code smell". The standard answer is "use polymorphism". How would I …

java reflection polymorphism instanceof chain-of-responsibility
Why would I ever use a Chain of Responsibility over a Decorator?

I'm just reading up on the Chain of Responsibility pattern and I'm having trouble imagining a scenario when I would …

oop design-patterns decorator chain-of-responsibility
What's the difference between "Chain of responsibility" and "Strategy" patterns?

I'm raising this question because of another question I asked here on SO some days ago. I had to solve …

design-patterns strategy-pattern chain-of-responsibility
For a large validation task is chain of responsibility pattern a good bet?

I need to build a process which will validate a record against ~200 validation rules. A record can be one of ~10 …

java design-patterns chain-of-responsibility
Design Patterns Chain of Resposibility Vs Decorator

How Chain of Responsibility Pattern Differs from Decorator Pattern..?

design-patterns decorator chain-of-responsibility