added decorators with exercises for later

This commit is contained in:
aman committed 2026-03-30 10:01:22 +02:00
1 parent 8f4f08b8a6
commit 6202f69e1c
3 files changed
+308 -9

No files matched your search

+11 -9
View File
@@ -1,14 +1,16 @@
## TODOs -
### first
Decorators
Error handling -- try/except/else/finally, chaining exceptions
Abstract base classes -- force subclasses to implement specific methods using abc module
- Decorators - done, revisit exercises in 2-3 days
- Error handling - done (try/except/else/finally, custom exceptions, chaining)
- Unpacking — *args, **kwargs, tuple/dict unpacking (already used)
- Abstract base classes — force subclasses to implement methods using abc module
### then (rolling)
Context managers
@dataclass
Walrus operator
Lambda & functional tools --  map, filter, functools, closures
Collections module
Unpacking -- *args, **kwargs, tuple/dict unpacking
- Iterators & generators deep dive
- Context managers
- @dataclass
- Lambda & functional tools — map, filter, functools, closures
- Collections module — defaultdict, Counter, namedtuple, deque
- Walrus operator