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};
The difference in Python OOP between:
visually explained using 𝗺𝗲𝗺𝗼𝗿𝘆_𝗴𝗿𝗮𝗽𝗵:
I like to use this example with my students: https://github.com/bterwijn/memory_graph#lazy-evaluation
Same thing in Python, double underscore prefix triggers “name mangling”. There are issues that can pop up when using it if not aware.