• Ephera@lemmy.ml
    link
    fedilink
    arrow-up
    4
    ·
    11 months ago

    Hmm, I guess, this is why even a loosey goosey language like Python would have Pydantic…

    • bugsmith@programming.devOP
      link
      fedilink
      arrow-up
      4
      ·
      11 months ago

      Honestly, for any large scale project in Python, Pydantic makes it bearable. We use Python heavily at work (and I’d argue we shouldn’t be for the projects we’re working on…), and Pydantic is the one library we’re using that I wouldn’t be without. Precisely because it allows us to inject some of these static typing concepts and keeps us honest, and our code understandable.