jeudi 10 décembre 2015

Chain of Responsibility VS Case statements

I was looking into the design pattern called Chain of Responsibility and I think I understand it. The example I looked at was pretty straight forward. What I don't understand is how this is any better than using a Case statement to determine which class will do the processing.

Aucun commentaire:

Enregistrer un commentaire