4 ms·
For compiled languages, it's neat to get compiler error instead of a nasty bug.
by loopz 6y ago
For compiled languages, it's neat to get compiler error instead of a nasty bug.
- Karliss 6y agoNo compiler in Python. In combination with features like varargs, kwargs, unpacking dictionary into args, argument forwarding Python allows you to turn this into bugs.
- senkora 6y agoWell, Python does get compiled to bytecode before it is run. And the compiler does tell you about some errors, like inconsistent indentation, even if that code is never executed.
- kortilla 6y agoIn python without explicit analysis using something like pylint you won’t find out until function call time.
- deleted 6y ago[deleted]
- quietbritishjim 6y agoA bug is a problem that affects your users. If you're a library author then your users are developers of applications (and higher-level libraries), so an unintentional breaking change to your API is definitely a bug.