Made with KolourPaint and screenshots from Kate (with the GitHub theme).

      • sbv@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        42
        ·
        2 days ago

        only the linter gives a hoot - the interpreter will happily leave that footgun for later

        • _stranger_@lemmy.world
          link
          fedilink
          arrow-up
          5
          ·
          edit-2
          2 days ago

          Dude, even just a “FY,I, you sure about this?” would be nice. I gladly embrace python’s by-all-means-shotgun-your-leg-off philosophy, but the noobs could use the help.

          • lime!@feddit.nu
            link
            fedilink
            English
            arrow-up
            1
            ·
            3 hours ago

            the problem is that the language doesn’t and can’t support one single way to use type annotations without changing fundamental functionality. you can absolutely hook up mypy to your editor for newbies, but once you get on the intermediate level, fighting with mypy takes more code than actually solving the problem.

            also there was that proposed update to mypy that was put on held when it turned out that the maintainers didn’t know how annotations are used in the wild.