@gyanendraknojiya to ProgrammingEnglish • 6 hours agoProgramming in simple 4 stepsimagemessage-square29arrow-up1445arrow-down113
arrow-up1432arrow-down1imageProgramming in simple 4 steps@gyanendraknojiya to ProgrammingEnglish • 6 hours agomessage-square29
minus-square@Strykkerlink3•2 hours agoIt’s python, just use type hinting already and your linter will catch that. Also some winters can look at the use of food and see the type being passed in.
minus-squareEpheralinkfedilink6•2 hours agoAutocorrect got you pretty bad, there. I was very confused, why we’re suddenly talking about rationing food during winter. 🙃
minus-square@FizzyOrangelink4•2 hours agoYes you can use static type hinting and the static type checker (Mypy or Pyright) will catch that. Linters (Pylint) won’t.
It’s python, just use type hinting already and your linter will catch that.
Also some winters can look at the use of food and see the type being passed in.
Autocorrect got you pretty bad, there.
I was very confused, why we’re suddenly talking about rationing food during winter. 🙃
Holy crap that’s wild, new phones autocorrect is out to get me
Yes you can use static type hinting and the static type checker (Mypy or Pyright) will catch that. Linters (Pylint) won’t.