4 ms·
Some sanity checks are always a good idea before running such destructive action (IF beam_strength > REASONABLY_HIGH_NUMBER THEN error). Of course the UI bug is
by mdavid626 1y ago
Some sanity checks are always a good idea before running such destructive action (IF beam_strength > REASONABLY_HIGH_NUMBER THEN error). Of course the UI bug is hard to catch, but the sanity check would have prevented this completely and the machine would just end up in an error, rather than killing patients.
- b_e_n_t_o_n 1y agoinvariants are so useful to enforce even for toy projects. they should never be triggered outside of dev, but if they do sometimes it's better to just let it crash.
- bzzzt 1y agoMaking sure the beam is off before crashing would be better though.
- b_e_n_t_o_n 1y agoFor sure :P