Home
Topic
functions
2 articles
Functions in Python: Parameters, Return Values, and Scope
TLDR: Python functions are first-class objects, not just reusable blocks. They support keyword arguments, safe defaults with None, variadic *args/**kwargs, closures, and LEGB scope resolution. These f
โข22 min read
Decorators Explained: From Functions to Frameworks
๐ The Copy-Paste Crisis: When Timing Code Invades Twenty Functions Sofia is three months into her first Python backend role. The team runs a performance review and discovers the data-processing API i
โข24 min read

