Links tagged “patterns”
26 links, newest first.
phyast.pitt.edu
ate classes. The decorator module takes advantage of this feature to provide a facility for writing complex decorator factories. We have already seen examples of simple decorator factories, implemented as functions returning a decorator. For more complex situations, it is more convenient to implement decorator factories as classes returning callable objects that can be used as signature-preserving decorators. To this aim, decorator can also be used as a class decorator. Given a class with a .call(self, func, *args, **kw) method decorator(cls) adds a suitable __call__ method to the class; it raises a TypeError if the class already has a nontrivial __call__ method.
steve.yegge.googlepages.com
ma-like trance whenever I tried to skim through
youtube.com
Alex Martelli's Google Developers Day talk on design patterns in Python, arguing that patterns can only be studied in the context of the language they get implemented in.
martinfowler.com
An explanation of how lightweight containers wire components together, comparing constructor, setter and interface injection against the Service Locator alternative.





