by epr · 6y ago · 0 comments
The article claims that it is their process, and although they are certainly extremely thorough, I don't buy it. At the very least, they cannot be compared to most developers apples to apples.
Why?
> NASA and the Lockheed Martin group agree in the most minute detail about everything the new code is supposed to do — and they commit that understanding to paper, with the kind of specificity and precision usually found in blueprints. Nothing in the specs is changed without agreement and understanding from both sides.
For most anyone working as a developer, could you even imagine what this would be like? Specs not changing or only changing in very small ways that are documented to the nth degree not only is impossible from a practical standpoint for most fields of software development, but such a different process that it's essentially a completely different field of work.
> Most people choose to spend their money at the wrong end of the process
> In the modern software environment, 80% of the cost of the software is spent after the software is written the first time
I would argue that this is largely the result of:
1. Incompetency as far as specifications go (suits don't know what they want, or what they are asking for)
2. Large changes in the specification (moving target)
In it you'll find that this level of requirements gathering, blueprint/spec writing and code inspection are actually cheaper in a relatively short time (months, not years).
Writing specifications that are extremely detailed ends up giving you all the logical failures ahead of time, and makes typing code more of a spell checking exercise. By having the logical failures before the code ever runs, you get to debug & fix them before any code runs. This ends up being faster & cheaper in total than waiting for users to find bugs.
However - I understand that for many companies they actually don't care if users find bugs as time to market is more expensive than the future bug finding. But if you have a product already in the market, and you expect to support it for ~year, you probably can do much more detailed design and avoid so much pain.
To wit, the fact that Keller - or whoever is in that role these days - has to certify that the code and the system it runs on will work as expected speaks volumes about how serious this is.
If it doesn't, things tend to blow up, which is sure to ruin your day.
Also, I would be remiss if I didn't mention Therac-25, a medical device which killed or severely injured several patients.
https://en.wikipedia.org/wiki/Therac-25
In these cases, arguing over every change to code seems like the only way they can guarantee with any certainty that it works correctly.
Namely, we're at a point where agile practices have become so common that nothing is ever 'done' and it is acceptable to ship something with errors, assuming it can and will be patched later.
Both Mom & Dad started out as COBOL programmers on punchcards, and I've heard plenty of 'war stories' about how these kinds of situations were far less common because an error meant your program simply didn't run.
Unlike say a web browser which will mostly spit back out whatever weird HTML and CSS you feed into it, errors and all.
In consumer software, it's not, 'we follow orders or people die' but for people working on this, it probably feels that way if your stuff is used by enough people (iOS) or is critically important (medical billing).
If it doesn't do what it says on the tin, people are incredibly unforgiving of even the smallest mistakes.
If my todo app has a bug or even goes down a full day, the impact is not severe. I guess it is okay to change specs within reason - if a project is managed well and communication between the parties involved is great, some amount of flexibility in specs can be accomodated in most non-life threatening projects.
http://elementsofprogramming.com
... and it was maybe the first time I understood that you very much can explicitly define the constraints, inputs, outputs, etc, of a program. For something like a NASA shuttle, it makes absolute sense that they would have an insanely granular definition of the domain / limits under which their code must operate.
Most of us deal in our day-to-day on top of a mountain of abstraction. But there are absolutely scenarios in which a formal, complete spec, is a life-or-death requirement.
Building complex software is a learning process, and you'll find that what was specified wasn't practical, you'll find better ways to do things, etc.