0
Declined
better class diagram for chain of responsibility pattern
hi everybody
i think the following class diagram would be a better representation of Chain of Responsibility pattern.
Π‘Π΅ΡΠ²ΠΈΡ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠΈ ΠΊΠ»ΠΈΠ΅Π½ΡΠΎΠ² ΡΠ°Π±ΠΎΡΠ°Π΅Ρ Π½Π° ΠΏΠ»Π°ΡΡΠΎΡΠΌΠ΅ UserEcho
Hi! Why do you think it's better?
Hi
You should replace:
by
I'm closing this for now, because it seems that current illustration does contain simple "isDefined" and "canHandle" checks: