Why is high-quality code important?
A classic example of a fatal error and poor-quality code is considered to have happened in 1996 with a commercial Ariane 5 launch vehicle. 36 seconds after the start, due to numerous software failures, it had to be destroyed. The production of missiles cost almost $8 billion, and at the time of the explosion it carried a payload worth $500 million.
It turned out that the computer of the missile guidance system unsuccessfully tried to convert only one piece of data - lateral speed. It was not possible to squeeze a 64-bit number into 16-bit space! Too many times resulted in stack overflow error. Defective software due to poor code quality will result in huge losses and even business failure.