Completed
DESIGN Think you're building a library
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
Python Good Practices
Automatically move to the next video in the Classroom when playback concludes
- 1 Introduzione
- 2 AN ANCIENT FIGHT Cathedral vs Bazaar
- 3 ONE WAY TO DO IT
- 4 NOT JUST PYTHON'S OWN FAULTS
- 5 SAMPLE PROJECT TREE
- 6 USE STANDARD TOOLS distribute, virtualenv, pip, zc.buildout
- 7 DON'T Do manipulations, ifs, cycles, fetch libraries, do setup- unrelated things, use nonstandard libraries.
- 8 HANDLING DEPENDENCIES That's hard! mytoolib
- 9 SUGGESTIONS Use at least a version range
- 10 TEST ISOLATION
- 11 DESIGN Think you're building a library
- 12 NO BLACK MAGIC sys path manipulation is a DON'T
- 13 YOUR APPLICATION CODE IS SOMETHING LIKE
- 14 LAZY INIT
- 15 TYPICAL COMMAND LINE
- 16 API VERSIONING POLICY
- 17 you're monkeypatching to test your own code - bad use of wiring and dependency injection