• lengau@midwest.social
    link
    fedilink
    arrow-up
    0
    ·
    7 days 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
      0
      ·
      7 days 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.