4 ms·
> but my data is dynamic In my experience, most dynamically types code makes assumptions about structure that may not hold later (better have tests!) and when
by dkersten 7y ago
> but my data is dynamic
In my experience, most dynamically types code makes assumptions about structure that may not hold later (better have tests!) and when it breaks some kind of validation is needed anyway to select between the correct version of the different dynamic options. In static languages this is simply typically done sooner, since the type system requires it to parse the data. (Or it’s in variants that are accessed without checking that the accesses are valid, sigh)