• scrion@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    With type annotations, this problem is mostly alleviated in practice, while still keeping the productivity gains of duck typing.

    • Ephera@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      In my experience, Python’s type annotations are annoying as hell, because there’s no inference.