The difference in Python OOP between:

  • instance method
  • class method
  • static method

visually explained using ๐—บ๐—ฒ๐—บ๐—ผ๐—ฟ๐˜†_๐—ด๐—ฟ๐—ฎ๐—ฝ๐—ต:

you are viewing a single comment's thread
view the rest of the comments
[โ€“] 2 points 4 months ago (1 child)

Just don't use double underscores in C++, identifiers containing double underscores are reserved for the compiler/linker/standard library.

  • source
  • parent
  • hideshow 1 child comment