Advanced
Python · Proficient - advanced patterns and performance
- OOP: classes, __init__, methods and inheritanceStructure your code with well-designed classes: initialization, instance or class attributes, inheritance and its trade-offs.
- Advanced structures: tuples, sets and collectionsPick the structure that fits each need: immutable tuples, sets for O(1) membership tests, Counter and defaultdict for recurring patterns.
- Iterators and generators: yield and pipelinesMaster the iteration protocol and generators to process data streams lazily, at constant memory.
- Decorators and higher-order functionsLeverage functions as first-class objects to write robust, parameterizable and transparent decorators.
- Virtual environments, pip and a clean projectIsolate each project in its own venv, pin the dependencies and adopt a reproducible project structure.