cover image

Learn these five Python decorators based on diverse libraries, that take particular significance when used in the context of LLM-based applications.

cover image

Going knee-deep into the internals of Python

cover image

I show toy implementations of Python decorator patterns that may be useful for Data Scientists.

cover image
5 Advanced Tips on Python Decorators
26 Jan 2022
towardsdatascience.com

Do you want to write concise, readable, and efficient code? Well, python decorators may help you on your journey.

cover image
Why decorators in Python are pure genius
5 Jul 2021
link.medium.com

Analyze, test, and re-use your code with little more than an @ symbol

cover image
5 Minute Guide to Decorators in Python
22 Nov 2020
towardsdatascience.com

Let’s master the more advanced topics in no-time

cover image
Decorators in Python
14 Mar 2020
towardsdatascience.com

Learn how you can change the behavior of objce

cover image

Python decorators are a useful but flawed language feature. Intended to make source code easier to write, and a little more readable, they neglect to address another use case: that of the programmer who will be calling the decorated code. If you’re a Python programmer, the following post will show you why decorators exist, and how to compensate for their limitations. And even if you’re not a Python a programmer, I hope to demonstrate the importance of keeping in mind all of the different audiences for the code you write.