Why is the property decorator used? I mean it's easier to use the normal classes, right? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 2

Why is the property decorator used? I mean it's easier to use the normal classes, right?

22nd Oct 2019, 3:08 PM
sujay simha
sujay simha - avatar
2 Respuestas
+ 1
Property decorator is used to add changes to existing methods without disturbing original implementation.
25th Oct 2019, 2:26 AM
Vikesh R S
Vikesh R S - avatar
+ 1
thank you Vikesh R S!
25th Oct 2019, 5:03 AM
sujay simha
sujay simha - avatar