added abc, interfaces and polymorphism
This commit is contained in:
1 parent
6202f69e1c
commit
35db4c9201
4 files changed
+302
-2
No files matched your search
+41
@@ -0,0 +1,41 @@
|
||||
|
||||
---
|
||||
|
||||
### **Intermediate (solidify foundation)**
|
||||
|
||||
1. Functions & closures
|
||||
2. Decorators (basic & with arguments)
|
||||
3. Generators & `yield`
|
||||
4. Context managers (`with`, `__enter__`, `__exit__`)
|
||||
5. Exception handling patterns
|
||||
|
||||
---
|
||||
|
||||
### **Upper-Intermediate**
|
||||
|
||||
1. Iterators & custom iterable classes
|
||||
2. `functools` tools: `partial`, `lru_cache`, `wraps`
|
||||
3. `*args` / `**kwargs` + argument unpacking mastery
|
||||
4. Property, `@classmethod`, `@staticmethod`
|
||||
5. Modules, packages, and import system internals
|
||||
|
||||
---
|
||||
|
||||
### **Advanced**
|
||||
|
||||
1. Metaclasses & class customization
|
||||
2. Descriptors (`__get__`, `__set__`, `__delete__`)
|
||||
3. Introspection & reflection (`inspect`, `getattr`, `type`)
|
||||
4. Async programming (`async`, `await`, `asyncio`)
|
||||
5. Concurrency: threading, multiprocessing, `concurrent.futures`
|
||||
6. Memory & performance optimization (`__slots__`, generators, caching)
|
||||
7. Monkey patching & dynamic code modification
|
||||
8. C extensions / Cython for speed-critical code
|
||||
|
||||
---
|
||||
|
||||
| **Stage** | **Project** | **Key Concepts to try** |
|
||||
| ---------------------- | ----------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| **Intermediate** | Custom Logger with Decorators | Decorators (basic + with arguments), `*args`/`**kwargs`, closures, function introspection, logging I/O |
|
||||
| **Upper-Intermediate** | Personal Expense Tracker CLI | Classes & OOP, `@property`, `@classmethod`, iterators, context managers, `functools` tools |
|
||||
| **Advanced** | Async Web Scraper + Cache | Asyncio, `async`/`await`, concurrency (threads/processes), caching (`lru_cache`), memory optimization (`__slots__`), descriptors, introspection |
|
||||
Reference in new issue
Block a user