3 ms·
Edsger Dijkstra - Discipline in Thought
- arakyd 18y agoIf "begin with code and end with crap" is the first way and "think it through and code once" is the second way, I prefer the third way: http://www.ultratechnology.com/method.htm http://www.ultratechnology.com/method.htm
- delano 18y agoOr, the forth way.
- mynameishere 18y agoSo then you get these version numbers, even with decimals 2.6 or 2.7. That's nonsense. While version 1.0 should have been the finished product Here's a number for you: 1 Billion nanodijkstras.
- jodrellblank 18y agoWhat when you release version 1.0 and then someone invents USB and your kernel needs to support it? Then someone invents a device that doesn't conform to the standards and you need to support it? What about the world where there is no spec for a finished version, merely different balances between effort, cost, value, marketability, usability, and so on...
- delano 18y agoI don't know enough about Dijkstra to know whether he considers his approach appropriate for all types of programs. I can understand the value for mission-critical applications (like his Apollo example). This type of software needs to be correct all the time, every time. Adding a trivial feature, like adding USB support, isn't even a consideration (but if it was valuable it would be included in the next generation of the program).
- mynameishere 18y agoRef here: http://video.google.com/videoplay?docid=-2950949730059754521 http://video.google.com/videoplay?docid=-2950949730059754521 5:40
- jodrellblank 18y agoIt isn't until I write that I know it needs a rewrite. Perhaps I'm not smart enough to model accurately enough in my head, or perhaps not disciplined enough. I'd love to feel what it's like to think as someone else for a short while. What "thinking" means to other people.
- 13ren 18y agoThe competent programmer is fully aware of the limited size of his own skull. He therefore approaches his task in full humility and avoids clever tricks like the plague. I think people vary in how much they can model in their head - but everyone has a limit. For me, the interesting question is how to work around that limitation.
- apstuff 18y agoRichard Feynman's appendix to the Rogers Commission Report on the failure of Shuttle Challenger. http://www.ralentz.com/old/space/feynman-report.html http://www.ralentz.com/old/space/feynman-report.html The section titled 'Avionics' is a good read for any programmer and relevant to Dijkstra's discussion (@ 13:00) of the software developed by IBM and used in the Apollo lunar module.