4 ms·
Code written in dynamically typed language requires less code, which often means less surface area for failure, and less tests.
by joshuamorton 9y ago
Code written in dynamically typed language requires less code, which often means less surface area for failure, and less tests.
- Koshkin 9y ago> often means No it does not, neither in theory nor in practice. Also, "less code" depends primarily on the language structure and not on whether the language is dynamically typed or not. (Haskell, for example, is more terse than Python.)
- joshuamorton 9y ago>No it does not, neither in theory nor in practice. I've yet to come across something that was fewer loc in C++/java than in python. That said, this is true even if I use pytype.