3 ms·
Python is the language you want to write code in. Anything but Python is the language you want everyone else to use.
by Spivak 4y ago
Python is the language you want to write code in. Anything but Python is the language you want everyone else to use.
- bbkane 4y agoI ameliorate this somewhat with strict CI/CD rules. Black + ruff + mypy can help keep Python sane.
- guyrap 4y agoha, I did not know ruff, used pylint until now. https://pypi.org/project/ruff/ https://pypi.org/project/ruff/
- diarrhea 4y agomypy still has some rough edges but in a couple years it’s going to be golden. My Python programs are already always fully typed and checked with strict settings. For all intents and purposes that’s 95% of the way of what a statically typed language provides anyway (if we ignore multithreading). This article had a good impact on how I do typing nowadays (applies to any language): https://dusted.codes/the-type-system-is-a-programmers-best-friend https://dusted.codes/the-type-system-is-a-programmers-best-f...