3 ms·
Which really means “Python is a nice interface to whatever optimized code you’ll need to run.”
by ARandomerDude 4y ago
Which really means “Python is a nice interface to whatever optimized code you’ll need to run.”
- Spivak 4y agoPython 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...
- 082349872349872 4y agoAfter LISP, sh, TCL, and Lua all took a run at that fence, I'm glad something finally cleared it. cf https://news.ycombinator.com/item?id=34431984 https://news.ycombinator.com/item?id=34431984