For these more familiar with design pattern is shows an idea on how to implement a chain of responsibility patter by using generator as a building block.
References
- https://python-3-patterns-idioms-test.readthedocs.org/en/latest/FunctionObjects.html#chain-of-responsibility
- http://www.oodesign.com/chain-of-responsibility-pattern.html
- http://java.dzone.com/articles/design-patterns-uncovered-chain-of-responsibility
- http://java.dzone.com/articles/simple-example-illustrate
- http://java.dzone.com/articles/two-java-implmentations-chain
No comments:
Post a Comment