2 ms·
It can only really be done on a per codebase level, really. By which I mean, in my highly sensitive and correct program xyz I can (say) abstract all access to
by mhh__ 8y ago
It can only really be done on a per codebase level, really.
By which I mean, in my highly sensitive and correct program xyz I can (say) abstract all access to a type (A struct?) through a macro which would contain null checking/assert-ing. This could work perfectly well and even be static checked for (in principle).
However, if I tried to package this type up in a library it all basically falls flat - or at least it would be very easily broken.
Doing this like this is to static analysis(/The Type system) as foreplay is to sex.