3 ms·
Pretty much everything you're saying matches my experience, so, playing the devil's advocate: - The typing argument is impossible to argue against, but isn't i
by qsort 5y ago
Pretty much everything you're saying matches my experience, so, playing the devil's advocate:
- The typing argument is impossible to argue against, but isn't it the same problem you'd have with any other dynamic language? How is, say, Javascript any better? I don't see this as something that's specifically Python's fault, rather, yet another argument as to why starting a large project in 2021 without seriously considering static types is bordering professional malpractice.
- As for the GIL thing, I'm with you that it's never going to be lifted in any meaningful way, but wouldn't the subinterpreters idea along the lines of Ruby's ractors fix most of the pain in most cases?
Also, why are you skeptical about "the 5x plan"? I don't really have an opinion about it, but I'm interested in hearing any input.
- azeirah 5y agoFor your first point, I don't think a language such as JavaScript -is- much better, which is why Typescript was invented as an alternative for larger codebases/organizations
- igouy 5y agoAlso Dart.
- dragonwriter 5y agoTypeScript:JS is a lot like mypy:Python; the only real difference is that Python adapted so that mypy (originally envisioned as its own language) code is also valid Python as well as the reverse, obviating the need for a compilation step to run mypy in the Python runtime (whereas TS has to compile to JS to run); also, mypy has mypyc to compile (currently, only a subset of) mypy code to something more efficient than normal python.
- whimsicalism 5y agoHaving worked extensively with both, I don't think this is an apt comparison. Type inference & hinting at the IDE level is just not as developed either
- takeda 5y agoWhich language did you mean? Also in any case wouldn't that be IDE issue. I used Python and I noticed over the years that things like type interference drastically improved. Similarly type checker in Rust extension for IntelliJ was lacking even though Rust has superior type system.