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

  • _stranger_@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    8 hours ago

    Oh I’m well aware. Took me a solid year to appreciate type annotations for what they are and yeah I’m happy using what we have in stdlib now and not messing with mypy tyvm. The problem is that history is lost to newcomers who have very different expectations. Modern IDE’s mostly solve it though, so for all my Java peeps dipping their toes into the snake waters, listen to your ide

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

      i mean, i’m all for rejiggering the internals. i’ve personally written at least two libraries that uses type annotations in reverse to force arguments into the correct type, and i feel like that should probably be a separate mechanism to “just call the annotation”