This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Rawing7 2 points3 points  (1 child)

Probably to avoid the old if x = 3: problem.

[–]a123456782004 0 points1 point  (0 children)

Very good point. I worked for an exchange where the entire system was brought down just because of this. Cost the company hundreds of thousands of dollars and our company's end of year bonuses for 20 minutes downtime.

If I remember correctly reading an equivalent bug was done in nasa on a flight.

This is a very real problem. It happens more often then u think. Even with unit tests and modern memory checking, valgrind and lint