Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
It's not a joke at all, Go is when some people that have no idea how make a language make a language, the time it took them to implement parametric polymorphism is proof for that. They didn't add features to the language for the sake of simplicity claiming that it leads to more readable and maintainable programs which is false because you have to revert to hacks when the language doesn't provide the abstractions you need.
Using any linter + type checker solves many of your problems. Just annotate your types (possibly using the typing module below Python 3.10), run flake8 and mypy and you're fine. Also c.f. PEP-484 for how and why it was done like this. And use typeshed stubs for untyped libs, most major libraries have typings in there ;)
Related posts
- FastAPI Production Setup Guide 🏁⚡️🚀
- What's the point of using `Any` in Union, such as `str | Any`
- Importing python libraries "Cannot find implementation or library stub for module named ..."
- Are there any sectors that use Haskell as a main programming language?
- Ask HN: Will we see a TypeScript for Python?