• lengau@midwest.social
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    4 hours 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
      2
      ·
      2 hours 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.