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