4 ms·
This might have been true a few years ago, but these are all solved problems in 2024. > Python is not easy to build into portable binaries https://pex.readthe
by kortex 2y ago
This might have been true a few years ago, but these are all solved problems in 2024.
> Python is not easy to build into portable binaries
https://pex.readthedocs.io/en/v2.1.40/buildingpex.html https://pex.readthedocs.io/en/v2.1.40/buildingpex.html
- The package ecosystem is very hard to use in a reproducible way
pip, virtualenv, and requirements.in/txt is extremely reproducible. I will offer that it's not exactly idiot-proof yet and there are tons of stale tutorials out there
> The language is not truly typed - types add massive value for infrastructure and scripts because they are less likely to be unit-tested
Yes it is, if you want it to be. There's nothing stopping someone from using mypy, pyright, or other type tool on the strictest setting, and not passing builds unless you have 100% type coverage.
> The lack of a "let" or "var" keyword makes simple programming errors more likely (again, this code is less likely to be unit-tested)
No, but you get ~95% of the safety guarantees by using immutable-esque objects like @dataclass(frozen=True), pydantic models with the same, or attrs/cattrs with similar setting.