Explore >> Select a destination


You are here

martinheinz.dev
| | initialcommit.com
3.7 parsecs away

Travel
| | In this article, you'll get a detailed look at how to use the sum function in Python, as well as how it differs from the plus sign operator.
| | yotam.net
4.6 parsecs away

Travel
| | A blog about free software and programming
| | florimond.dev
4.1 parsecs away

Travel
| | Type hints add optional static typing to Python 3.5+, and I love them. I now use annotated variables throughout my projects.
| | aaronluna.dev
15.7 parsecs away

Travel
| Decorators can be a daunting topic when first encountered. While the Zen of Python states "There should be one- and preferably only one -obvious way to do it", there are many, equally valid ways to implement the same decorator. These different methods can be categorized as either function-based, class-based, or a hybrid of both. In this post I will explain the design and behavior of Python decorators and provide examples of decorators that I frequently use in my own code.