• lengau@midwest.social
      link
      fedilink
      arrow-up
      6
      arrow-down
      1
      ·
      9 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
        3
        arrow-down
        1
        ·
        8 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.