r/programming • u/ekser • Apr 07 '16
The process employed to program the software that launched space shuttles into orbit is "perfect as human beings have achieved."
http://www.fastcompany.com/28121/they-write-right-stuff
1.4k
Upvotes
44
u/RenaKunisaki Apr 07 '16 edited Apr 07 '16
It all depends on what you're making software for.
A video game that can easily be patched? Just hurry up and get it looking finished. If there are any major bugs we can put out a patch.
A commercial office suite? You want to test pretty well before shipping, but if something goes wrong it's not the end of the world.
Guidance control for a rocket? You damn well better get it right the first time, even if it takes a long time and huge budget.
Also, rocket guidance systems usually are running on purpose-built, military-grade, radiation-hardened machines that only run the guidance system, and are directly used by a few dozen people. It's a very different situation from an app that's expected to run on hundreds of thousands of peoples' home computers, which are in hundreds of different languages and which are also running essentially infinite variations of OSes and patches, hardware, other apps, configurations, use cases, viruses, and users.
People often ask "why do today's word processors require so much more memory/storage/CPU/updates than the one on my C64?" and the answer is they do so much more. The one on your C64 probably didn't...
support every human language in common use, including ones like Chinese, Korean, and Arabic that have very different methods of drawing and arranging letters than English (including several of these in the same document!)
support embedded images, comments, links, notes, revision history, macros, fonts, charts, and videos
support more than one font in a document, especially fonts that weren't built in
run on a wide variety of different machines and OSes
have to deal with other apps in the background
have to handle any conceivable arrangement of monitors, resolutions, and colour depths
support spell check (with ability to edit the dictionary), rich WYSIWYG formatting, various page layouts, and print previews
have more than a few levels of undo/redo
support collaborative editing, both offline (merging your version with someone else's) and live (multiple people editing the same document at the same time)
allow editing in the middle of the document without a bunch of disk juggling
import and export a bunch of other programs' file formats
perform translations and text to/from speech
have a crash recovery function (that could also save your ass after eg a power failure)
some didn't even support more than a few pages in one document
The same applies to design. Speciality software like rocket guidance control can be made much more reliable than the apps you run on your PC because it only has to do one job in one situation, and has the entire machine not just dedicated to but built for it.
(edit: added a couple more items)