3 ms·
And that's where risk analysis comes in. But modeling the system, to a certain reasonable scale (read: feasible with respect to time), and sane programming prac
by Jtsummers 10y ago
And that's where risk analysis comes in. But modeling the system, to a certain reasonable scale (read: feasible with respect to time), and sane programming practices can seriously mitigate the errors these systems have.
I'd be willing to wager that the faulty system discussed in my quote had a set of variables like this at the top:
int t1;
int t2;
int t3;
Which are all used by various functions later on, obliterating the value the others set. And someone forgot that they were supposed to be temporary. I'd even put $100 on it (I'm poor, ok?).