3 ms·
It helps avoiding typos, but most are well indicated by the code highlighting of the code editor, even for Python. It helps to use the right data type when 'co
by mharig 4y ago
It helps avoiding typos, but most are well indicated by the code highlighting of the code editor, even for Python.
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.