Object oriented programming in Python be like:
you are viewing a single comment's thread
view the rest of the comments
[–] 81 points 1 year ago* (10 children)

nah, I'm never complaining about self in Python after having tried the this and that nonsense in JS.

oh, you're using a named function instead of an arrow fn? Guess what, this is not what it used to be anymore.

  • source
  • hideshow 10 child comments
  • [–] 27 points 1 year ago (4 children)
  • [–] 20 points 1 year ago (2 children)

    Oh, you assigned a method to a variable before calling it? Congratulations, this is now undefined.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 4 points 1 year ago

    As a non-programmer who's occasionally dabbled with wxPython, I've entangled myself with self.parent.parent and their childs/siblings more than once. At that stage I know my project is done.

  • source
  • parent