Search This Blog

Monday, April 22, 2013

Practical tutorial on Python generators

Slides are usually very generic and lacking a lot of details. But the one below are of an extraordinary quality and tells you all what you need to know about Python generators. It is organized as a practical guide on how to write programs for data manipulation and processing using generators.

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
  1. https://python-3-patterns-idioms-test.readthedocs.org/en/latest/FunctionObjects.html#chain-of-responsibility
  2. http://www.oodesign.com/chain-of-responsibility-pattern.html
  3. http://java.dzone.com/articles/design-patterns-uncovered-chain-of-responsibility
  4. http://java.dzone.com/articles/simple-example-illustrate
  5. http://java.dzone.com/articles/two-java-implmentations-chain

No comments:

Post a Comment