Python course¶
All this will move into a sister project to actually teach this approach. See Add Teaching repository.
About Python¶
Zen of Python PEP020
The this module
Try
import this
Learn and master Python with exercism.org
Python Introduction¶
[Python 3 Patterns, Recipes and Idioms web-book
Transforming Code into Beautiful, Idiomatic Python by Raymond Hettinger (Talk)
Context Managers¶
Error Handling¶
OOO¶
“I’m sorry that I long ago coined the term “objects” for this topic because it gets many people to focus on the lesser idea. The big idea is messaging.” ~ Alan Kay
From:
Introduction¶
Pythonic Objects: idiomatic OOP in Python by Luciano Ramalho (talk) 3h talk, and Luciano voice is not very easy to understand, but its worth it.
Principles¶
Code Smells¶
Refactoring¶
CUPID¶
SOLID¶
A litte outdated, and superseeded by CUPID, but…
Design Patterns¶
OO, Class & Message¶
Dealing with change [requests]¶
“For each desired change, make the change easy (warning: this may be hard), then make the easy change” from Kent Beck on Twitter
Manifests¶
Following these rules, which basically reduce our possibilities, we enable ourselves to write maintainable software. They build upon each other.