4 ms·
Assuming your type system is robust enough to support such things. That's not the case for many mainstream languages.
by RHSeeger 3y ago
Assuming your type system is robust enough to support such things. That's not the case for many mainstream languages.
- sfink 3y agoIn that case, use DEBUG-only asserts. They're not foolproof (they're only as good as your test suite), but they're pretty damn good.