• zenforyen@feddit.org
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    Python with type hints and mypy and ruff = <3

    Large Python codebase without types = nightmare

    • smiletolerantly@awful.systems
      link
      fedilink
      arrow-up
      1
      ·
      2 months ago

      I’m too lazy to insert the “look what they need to mimic a fraction of our power” meme here, so… Please imagine it instead.

      I’m switching jobs in a couple of months, and I am SO glad to be leaving a (very well maintained!!) python codebase with type hints and mypy for a rust codebase.

      It is just not the same.

  • HStone32@lemmy.world
    link
    fedilink
    arrow-up
    0
    arrow-down
    1
    ·
    23 days ago

    Data types do matter, and someone’s got to declare them at some point, or else your compiler won’t know how to intepret them. It’s just a question of who should be doing the declaring: you, or a parser algorithm? Personally, I don’t like things being done for me.