Classes, dunder methods and duck typing
Python classes have no access control, no interfaces and no overloading, and they get most of their power from a set of named methods the language calls into. This lesson shows what to do with that instead of recreating Java.
11 min readintermediate
Sign in to read this lesson
This lesson is part of The language, which a free account opens. The orientation module of every course reads without one.
An account is free. There is no paid plan, no tier and nothing to buy.