5 ms·
To paraphrase Knuth, "programming is explaining to another human being what you want a computer to do." Should you take it to the extreme Knuth did with Litera
by sigil 12y ago
To paraphrase Knuth, "programming is explaining to another human being what you want a computer to do."
Should you take it to the extreme Knuth did with Literate Programming? I personally don't. But, once I've successfully explained to the computer what it should do (my program works) I look for ways to better communicate what it's doing (my program is readable). In many cases that's harder than solving the technical problem at hand.
Concision and simplicity seem to be the key to that. I agree with the author that "like good prose, good code is concise," although for prose that's more a matter of taste. Otherwise we'd all be reading a lot more Hemingway.