r/programming • • 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

423 comments sorted by

View all comments

Show parent comments

2

u/RagingAnemone Apr 08 '16

No it doesn't. I agree that thinking through the ramifications before making the change is a good thing, but looking through the code vs looking through the documentation doesn't have an advantage either way. The code has the advantage of the one true way since it's what actually runs and if you commented your code correctly, then you'll have better context in the small. The design docs will give you better context in the large which may be incredibly relevant with huge change to the business process. So what I'd go to first would depend on the situation, but the majority of changes I'd likely change the code first. The only situation where I can see you'd always change the docs first is in a architect/code monkey situation where you need a detailed technical functional spec.

1

u/mindyercircuits Apr 08 '16

I think we agree.

I didn't say that was the only way to think through a change, but adjusting a design document certainly implies (not guarantees) that that thinking happened.

I have seen many developers completely ignore context when making changes directly to the code.

But the most appropriate method of making changes is certainly situational. I didn't mean to imply otherwise.