4 ms·
If there's some level of confidence you're missing when using python because of the explicit types, you'd be better off making up for it using asserts rather th
by crdoconnor 7y ago
If there's some level of confidence you're missing when using python because of the explicit types, you'd be better off making up for it using asserts rather than additional tests.
- munchbunny 7y agoI think his point is that Python developers often do wish that they could have type validation written into the language, rather than having to litter code with assertions. I certainly feel that way.
- NateEag 7y agoAdd MyPy to your build process (or just your local editing setup) and you can: http://mypy-lang.org/ http://mypy-lang.org/ (Disclaimer: I've not used it, I just think it's a reasonable idea.)
- crdoconnor 7y agoI think his point might actually have been the point he made rather than the different point you made.
- munchbunny 7y agoThat's a roundabout way of saying "no you're wrong" without saying why you think so. Why do you think so?