Learn by reading code: Python standard library design decisions explained
> "There are so many projects on GitHub – pick one you like and see how they did it." But most successful projects are quite large; where do you start from?I'm working on a slightly similar project motivated by this problem: how do you learn from established open-source projects - most interesting ones are too big, too complex, to hard to get started with.So I'm compiling a collection of interesting code examples from open-source projects and explaining/annotating them. I'm trying to pick examples that are:- Taken from popular, established open-source projects.- Somewhat self-contained. They can be understood with little knowledge of the surrounding context.- Small-ish. The can be understood in one sitting.- Non-trivial.- Instructive. They solve somewhat general problems, similar to what some other coders on some other projects could be facing.- Good code, at least in my opinion.I'm planning to share it in a few weeks.