• Jambalaya@lemmy.zip
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 month ago

      Isn’t self not actually a keyword? Like you can name the first variable in a class method anything and it will behave like self.

      • Diplomjodler@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        1 month ago

        You could use “this” instead of “self”. And if you want a lynch mob of Python programmers outside your house, make a push request with that to some commonly used package.

          • Diplomjodler@lemmy.world
            link
            fedilink
            arrow-up
            0
            ·
            edit-2
            1 month ago

            I’ve been wondering about the noise.

            Edit: turns out, they weren’t there to lynch me. They just gave me a two hour lecture on proper usage of git.

            • naught@sh.itjust.works
              link
              fedilink
              arrow-up
              1
              ·
              edit-2
              1 month ago

              TECHNICALLY, there is no such thing as a pull request in git. That’s a Github convention. It’s really a merge request

              e: drat someone already out-pedantic’d me