this post was submitted on 09 Feb 2024
88 points (100.0% liked)

Programming

17022 readers
228 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Ephera@lemmy.ml 4 points 7 months ago (1 children)

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

[–] bugsmith@programming.dev 4 points 7 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.