diff --git a/README.md b/README.md index 0cb4e3c..1880912 100644 --- a/README.md +++ b/README.md @@ -125,7 +125,7 @@ I highly recommend reading [The Non-Designer's Design Book](http://www.amazon.co * The [Universal Principles of Design](http://www.amazon.com/Universal-Principles-Design-Revised-Updated/dp/1592535879/ref=sr_1_1?ie=UTF8&qid=1458046663&sr=8-1&keywords=universal+principles+of+design) will give you enough vocabulary and concepts to describe design challenges into words. * [Microsoft's Rest API guidelines](https://github.com/Microsoft/api-guidelines/blob/master/Guidelines.md) -### Design patterns and anti-patterns +### Design patterns & anti-patterns (OOP) Here's a list of good books: @@ -134,9 +134,13 @@ Here's a list of good books: * SourceMaking's [Design Patterns](https://sourcemaking.com/design_patterns) seems to be a good web resource too. * O'Reilly's [How to make mistakes in Python](http://www.oreilly.com/programming/free/files/how-to-make-mistakes-in-python.pdf) * [101 Design Patterns & Tips for Developers](https://sourcemaking.com/design-patterns-and-tips) +* [Python Design Patterns: For Sleek And Fashionable Code](https://www.toptal.com/python/python-design-patterns): a pretty simple introduction to common design patterns (Facade, Adapter, Decorator). [A more complete list of design patterns implementation in Python on Github](https://github.com/faif/python-patterns). [Also a book here](http://python-3-patterns-idioms-test.readthedocs.io/en/latest/PatternConcept.html). I maintain a [list of antipatterns](https://github.com/charlax/antipatterns) on another repo. This is a highly recommended read. +* [Inheritance vs. composition](http://learnpythonthehardway.org/book/ex44.html): a concrete example in Python. [Another slightly longer one here](http://python-textbok.readthedocs.io/en/latest/Object_Oriented_Programming.html). [One last one, in Python 3](http://blog.thedigitalcatonline.com/blog/2014/08/20/python-3-oop-part-3-delegation-composition-and-inheritance/#.V7SZ4tB96Rs). +* [Composition Instead Of Inheritance](http://c2.com/cgi/wiki?CompositionInsteadOfInheritance) + ### Dev environment & tools * [Awesome Dev Env](https://github.com/jondot/awesome-devenv)