4 ms·
I prefer static types all the way, but my looser rule I've come up with in order to play nicely with others is that you're not allowed to interface something wi
by yamtaddle 4y ago
I prefer static types all the way, but my looser rule I've come up with in order to play nicely with others is that you're not allowed to interface something with poor type definitions/enforcement with another thing that's also bad at that. Including transport/wire formats, so if you're presenting JSON you'd better be able to tell me a good story about type safety on both the sender and receiver.
That at least keeps the blast radius of type-related bugs very limited, and makes it easier to figure out where the problem is.