bbelderbos, 🔍 The other day I learned via @pythonbytes that you can also write #Python decorators using classes! 💡
Check out the basic comparison below:
• Function-based: keeps it simple. 🛠️
• Class-based: scalable for more complex needs. 📈Ever used class-based decorators? How?