by KMag · 5y ago · 0 comments
The best alternative is to keep a map of all of the definitions with broken type checks, and refuse to generate new machine code/bytecode as long as that map is non-empty, and keep using the older definitions until again get back to a sound state of the world.
I think you can even extend that to compiled code, for an authentic "it crashed in production" experience.