2 ms·
> it's costly to change the shape of something once it's set But in a dynamically typed language you also have that problem. Except there the shape is a hidden
by ngruhn 1y ago
> it's costly to change the shape of something once it's set
But in a dynamically typed language you also have that problem. Except there the shape is a hidden assumption and the type checker won't tell you all the places you have to change.
- b_e_n_t_o_n 1y agoI think you generally make less assumptions about the shape of data in dynamic languages. I find writing code in dynamic/statically typed languages very different from each other, and when I hear proponents of either complain about the other (types slow me down! / too many runtime errors!) I sort of assume they're writing code like they would in their preferred paradigm and running into walls.