• lengau@midwest.social
    link
    fedilink
    arrow-up
    7
    arrow-down
    1
    ·
    1 month ago

    In Python it’s really hard!

    def __eq__(self, other):
        ...
    

    How do you even write those subscripted hyphens???

    • zagaberoo@beehaw.org
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      1 month ago

      If you’ve got a complex and potentially nested object, what does the body of this simple function look like? That’s what they mean.