2 ms·
Static typing is useless for exploratory data analysis and data wrangling. Once you get to the modelling step all of the data is in typed arrays. Static types
by m_ke 7y ago
Static typing is useless for exploratory data analysis and data wrangling.
Once you get to the modelling step all of the data is in typed arrays.
Static types start to shine once the project grows and the new type annotation syntax works great for that.
I've tried doing machine learning in C++, Java, Scala and JavaScript and all of them are a pain compared to python.
Python would be perfect if I could annotate parts of my code and compile them. (Pretty much what's commonly done with cython or numba jit.
- skohan 7y ago> Static typing is useless for exploratory data analysis and data wrangling. In my experience, doing this kind of task in an weak-typed or duck-typed language is already tedious. Function signatures don't tell me enough detail to know exactly what I'm working with, so I end up spending a lot of time digging through documentation or print debugging. Why not let the compiler, or the function signatures do this work for you?