by rhacker · 3y ago · 0 comments
I guess typing is moot when all the code and the tests are written, but having types sure does help while you're writing that code and those tests.
It helps to use the right data type when 'connecting' two objects. But it constraints the usefulness of code that can rely on the behaviour of the objects instead of the type.
It clutters the code: you have to read (and write) way more text. Which makes errors more probable.
It forces to think about primitive data types, so steals time maybe better spend thinking about higher data structures (list, dictionary,...) or algorithm.
YMMV.