TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: mypy is used in production?

2 pointsby h_mirinalmost 2 years ago
I&#x27;m considering using Python to develop a somewhat complex web application. I think it would benefit from stricter type-checking.<p>I&#x27;m curious, is anyone using mypy in a production environment? What are your thoughts on introducing mypy from the beginning of development? Are you for or against it?

1 comment

cpburns2009almost 2 years ago
I used mypy when I first started adding type annotations. I&#x27;ve found it&#x27;s more convenient to rely on an IDE to flag type errors (PyCharm in my case). I use types extensively now. TypedDict and NamedTuple make documenting and enforcing structures so much more reliable, regardless of whether you choose mypy or not. Mypy will have the latest and greatest type hinting features because it is an official Python project.