4 ms·
"It's not statically typed, which can make working on a large codebase with more people more painful. It also forces you to write more unit testing code coverag
by crdoconnor 9y ago
"It's not statically typed, which can make working on a large codebase with more people more painful. It also forces you to write more unit testing code coverage to make up for the lack of a static compiler checking things for you."
I never missed static typing on large code bases but I had numerous bugs caused by python's implicit type conversions - string to iterable of characters ["h", "e", "l", "l", "o"], None to False, string "no" to True, 0 to False, "" to False, etc.
A lot of this mirrors C's infuriating implicit type conversions.
- brianwawok 9y agoFor what it is worth string to iterable char bugs happen to me plenty in scala. Hard problem to fix. Array of strings or string of chars?
- crdoconnor 9y agoI don't think it is that hard. Simply stop making strings implicitly iterable and make chars a different type.