June 2019
Beginner to intermediate
770 pages
19h 24m
English
Programmers coming from other languages (particularly Java and C++) can try to make all attributes private and write extensive getter and setter functions. This kind of design pattern can be necessary for languages where type definitions are statically compiled into the runtime. It is not necessary in Python. Python depends on a different set of common patterns.
In Python, it's common to treat all attributes as public. This means the following:
Read now
Unlock full access