0
What is the difference between underscore and self (i.e self.xx and _xx) ?

Open 1 Answers 36 Views Technology

What is the difference between underscore and self (i.e self.xx and _xx) ?

1 Answer

0
when you are using the self.XX, you access the property via the setter or getter.
when you are using the _XX, you access the property directly skip the setter or getter
by (280k points)
...