4 ms·
I think the point here is that for something like Python the default behaviour should be an assumed return type of `Any` rather than throwing an error. Maybe th
by jon-wood 1y ago
I think the point here is that for something like Python the default behaviour should be an assumed return type of `Any` rather than throwing an error. Maybe that is the case and the GP had configured it otherwise.
- IshKebab 1y agoNo 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 1y 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 1y ago> just use a better language This
- IshKebab 1y 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.