Why is the property decorator used? I mean it's easier to use the normal classes, right? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 Respostas
+ 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