3 ms·
No it shouldn't because then you can easily miss places where you should have added a type annotation, and also your lazy colleagues won't bother adding them at
by IshKebab 2y ago
No it shouldn't because then you can easily miss places where you should have added a type annotation, and also your lazy colleagues won't bother adding them at all.
- darthrupert 2y agoThe worst of both worlds is colleagues who insert type annotations but they're wrong. And there's no CI pipe to verify the types before check-in. Working with these things makes me often think that people who want to write high quality software should just use a better language. But, well, real world is real.
- koakuma-chan 2y ago> just use a better language This
- IshKebab 2y agoYeah unfortunately Python is crazy popular so a lot of the time you don't get a choice. If fairness if you set up uv and Ruff and Pyright it's kind of ok. Still have to deal with the general noobness of the ecosystem and the horrific performance, but I've seen worse.