3 ms·
Programming is hard, period. Knuth has noted that its so difficult for him that when he is programming he can't teach courses, and he's among the best programm
by kenjackson 16y ago
Programming is hard, period. Knuth has noted that its so difficult for him that when he is programming he can't teach courses, and he's among the best programmers in history.
Jon Skeet wrote a blog on the topic: http://msmvps.com/blogs/jon_skeet/archive/2009/01/29/programming-is-hard.aspx http://msmvps.com/blogs/jon_skeet/archive/2009/01/29/program...
Jon Skeet is right. Programming is hard, except the most trivial tasks. And anything that is not trivial is probably broken. But we're OK with things being a little broken, and we've made users bend to our will sufficiently now that we have pushed much of the cognitive load to the users.
- random42 16y agoI will go ahead and claim, that even seemingly trivial programming tasks are astonishingly difficult. http://www.cs.princeton.edu/introcs/42sort/ http://www.cs.princeton.edu/introcs/42sort/ According to Knuth, the first binary search algorithm was published in 1946, but the first published binary search without bugs did not appear until 1962. http://googleresearch.blogspot.com/2006/06/extra-extra-read-all-about-it-nearly.html http://googleresearch.blogspot.com/2006/06/extra-extra-read-... http://www.cs.princeton.edu/introcs/papers/bentley-binarysearch.pdf http://www.cs.princeton.edu/introcs/papers/bentley-binarysea...
- gnosis 16y ago"Programming is hard, period. Knuth has noted that its so difficult for him that when he is programming he can't teach courses, and he's among the best programmers in history." This reminds me of something I've read about writing: "A writer is someone for whom writing is more difficult than it is for other people." -- Thomas Mann I wonder if this also applies to programming. That is, perhaps the reason programming for Knuth is so hard is that he has such high standards and that he's working on such difficult problems.
- joe_the_user 16y agoOne interesting possibility to just play with... Perhaps programming is so hard ... that teaching it is easy. If programming is so hard that an older programmer has little teacher younger programmers, then everyone is equal when trying to the mountain. Charging a machine-gun nest with only bayonet is incredibly hard. Learning all you can learn in attempting this is fairly easy... Probably not true but worth tossing around in your mind.
- kragen 16y agoProgramming is hard for Knuth because his standard is that his programs should be correct. That would mean that they would contain no bugs. There are very, very few pieces of production software that might plausibly contain no bugs. TeX/METAFONT is one; qmail is another. I don't know of any others. Programming is sometimes hard and sometimes easy. One of the things that makes it very hard is having a standard that demands the complete absence of bugs. Fortunately, sometimes buggy programs are useful anyway.