2 ms·
You'd almost certainly just use a library dedicated to mitigating this problem though, of which there are many.
by quaunaut 3y ago
You'd almost certainly just use a library dedicated to mitigating this problem though, of which there are many.
- DonnyV 3y agoOr you could just use a language with a static type system and avoid a whole class of bugs automatically.
- quaunaut 3y agoLook, I like static type systems, but not all type systems are created equal, and some(with the easiest example being Go) are downright awful for helping encode business logic, forcing you to write immense amounts of code just to work around their awful type system decisions, code that often introduces bugs because of those issues.