| ▲ | embedding-shape 3 hours ago | ||||||||||||||||
> Most people are using MyPy or an alternative typechecker, and the community frowns on those who aren’t. That's not like a widespread/by-default/de-facto standard across the ecosystem, by a wide margin. Browse popular/trending Python repositories and GitHub sometime and I guess you can see. Most of the AI stuff released is still basically using conda or pip for dependencies, more times than not, they don't even share/say what Python version they used. It's basically still the wild west out there. Never had anyone "frown" towards me for not using MyPy or any typechecker either, although I get plenty of that from TS fans when I refuse to adopt TS. | |||||||||||||||||
| ▲ | pansa2 3 hours ago | parent | next [-] | ||||||||||||||||
> Never had anyone "frown" towards me for not using MyPy or any typechecker either I’ve seen it many times. Here’s one of the more extreme examples, a highly-upvoted comment that describes not using type hints as “catastrophically unprofessional”: https://www.reddit.com/r/Python/comments/1iqytkf/python_type... | |||||||||||||||||
| |||||||||||||||||
| ▲ | __MatrixMan__ 3 hours ago | parent | prev | next [-] | ||||||||||||||||
Generally you only get frowned at if you're not using type hints while contributing to a project whose coding standards say "we use type hints here." If you're working on a project that doesn't use type hints, there's also plenty of frowning, but that's just because coding without a type checker is kind of painful. | |||||||||||||||||
| |||||||||||||||||
| ▲ | shadowgovt 3 hours ago | parent | prev [-] | ||||||||||||||||
I think in the case of TS, it's more that JavaScript itself is notoriously trash (I'm not being subjective; see https://www.destroyallsoftware.com/talks/wat), and TypeScript helps paper over like 90% of the holes in JavaScript. Python typed or untyped feels like a taste / flexibility / prototyping tradeoff; TypeScript vs. JavaScript feels like "Do you want to get work done or do you want to wrap barbed wire around your ankle and pull?" And I say this as someone who will happily grab JS sometimes (for <1,000 LOC projects that I don't plan to maintain indefinitely or share with other people). Plus, TypeScript isn't a strict superset of JavaScript, so choice at the beginning matters; if you start in JS and decide to use TS later, you're going to have to port your code. | |||||||||||||||||
| |||||||||||||||||