Difference between 'instance', 'class', and 'static' method visually explained
Difference between 'instance', 'class', and 'static' method visually explained
The difference in Python OOP between:
- instance method
- class method
- static method
visually explained using 𝗺𝗲𝗺𝗼𝗿𝘆_𝗴𝗿𝗮𝗽𝗵:
Another common naming convention in C++ is using an underscore as prefix for member variables: int _memberVariable{123};