2 ms·
> Static typing (in any language) is just like training wheels on a bike. It's great to learn with them but eventually, as your skill increases, the training wh
by coldtea 7y ago
> Static typing (in any language) is just like training wheels on a bike. It's great to learn with them but eventually, as your skill increases, the training wheels become a problem and then they must come off.
LOL, what?
If anything, it's the opposite.
Dynamic typing is the lesser easy-to-start with machine (say, a toy bike), and as the needs grow (for both safety, performance, and guarantees for working with larger codebases/teams) you add types...
>Most things in the real world don't have a fixed set of attributes, attributes can change over time and as software developers we need to model that.
Which is irrelevant. Our programs (functions, custom types, etc) have a fixed set of attributes at any given time -- as the code must know about them to use them in the first place.
For things that we model and don't have fixed attributes, we can and do build ADTs and data structures to accommodate them.