This design pattern separates the code for the cause from the code for the effect -
- Dependency Injection
- Dependency Inversion principle
- Iterator
- Observer
The above are the possible options for it. But I am unable to figure out which could be it.
What I understand from the sentence is the code is split up into two parts.
one part is the cause other is the effect. Sounds like Observer pattern. Any suggestions ?
Aucun commentaire:
Enregistrer un commentaire