PPRuNe Forums - View Single Post - Chinook - Still Hitting Back 3 (Merged)
View Single Post
Old 8th Jun 2011, 12:48
  #7780 (permalink)  
Airborne Aircrew
 
Join Date: Jun 2007
Location: Detroit MI
Age: 66
Posts: 1,460
Likes: 0
Received 0 Likes on 0 Posts
Thor:

Thank you... I hadn't seen that little gem before. So the code was "auditable" but it sounds like, in the light of that revelation, we can add a fourth reason:-

4. Those charged with auditing the code find such an unholy mess they throw up their hands and give up.

I have had to update other people's code in the past and, on occasion, I find it so badly written that, rather then edit, I would rewrite from scratch for two reasons:-

  1. I simply can't trust the code to be bug free in any, let alone all, circumstances - in the context of the FADEC code read: "safe"
  2. I cannot be sure in any circumstances that any edit I might do to one section of the code might not cause the unpredictable failure of another module.
Interestingly enough a rewrite is exactly what the last line of what you quoted suggested. Unfortunately, that would probably have been impossible fiscally, practically and politically which is probably why it has been swept under the rug...
Airborne Aircrew is offline