PythonHub
2.45K subscribers
2.35K photos
49.5K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
You’re Passing Way Too Many Arguments (and How to Fix It)

The video explains how the Context Object Pattern helps reduce repeated function arguments by grouping related data into a single object, simplifying function signatures and improving maintainability. It also discusses the trade-offs, like increased coupling, and suggests using Python protocols to keep code decoupled and testable, recommending context objects mainly for higher-level func...

https://www.youtube.com/watch?v=UG5jbLReDiM
Valori – A Python-native Vector Database I built from scratch

https://news.ycombinator.com/item?id=45864900