by mixmastamyk · 6y ago · 0 comments
Pyflakes and unit tests will detect the great majority of potential errors. Mypy gets you closer to zero.
No, it's a pragmatic argument. There's no circularity it.
If they're not mainstream, then they're neither "very usable" or "well-supported" to any extend that a mainstream language would be.
- There are no mainstream languages with powerful and convenient type systems
- But there are less mainstream ones
- But I won't use those
- There are no mainstream languages with powerful and convenient type systems
That's however a totally legitimate engineering choice.
Engineers picking on a language shouldn't bet on less mainstream incomplete environments with less tooling and libs and options and devs, just so that they can raise them into the mainstream.
That might be a "tragedy of the commons" thing, but it's not an engineering obligation to be an early adopter.
Injections are handled by any language with taint, although that became less popular. Perl had it. Anything with typed orm also has something similar (for example Esqueleto in Haskell)