3 ms·
What is this based on? I have a lot of trouble believing untyped python code has half the bugs of typed code being someone who has written and read a lot of bot
by snapcaster 4y ago
What is this based on? I have a lot of trouble believing untyped python code has half the bugs of typed code being someone who has written and read a lot of both
- ReflectedImage 4y agoActual measurements. I don't think you should be surprised. Untyped Python code is a lot shorter and more concise than typed Python code. The easiest way by far to reduce the bug count is to reduce the lines of code.
- snapcaster 4y agoThat's a good point I hadn't considered. where did you find these measurements?
- ReflectedImage 4y agohttps://games.greggman.com/game/dynamic-typing-static-typing/ https://games.greggman.com/game/dynamic-typing-static-typing...
- nequo 4y agoMaybe it's my daftness but where does this post say that typed Python has twice the number of bugs? It only seems to say that typed code takes longer to write and is longer. It doesn't seem to say that typed code has more bugs, nor does it compare typed Python with untyped Python.