Strunk & White can apply to programming
posted Oct 15th 2008 3:10pm by Kimberly Laufiled under: lifehacks, misc hacks

The Elements of Style by [William Strunk, Jr.] and [E.B. White] has long been a favorite of English majors and great writers. [James Devlin] suggests that it can also be a good reference for programmers. With just a few changes in wording, the same guidance that applies to good writing can apply to good coding. For example, [Strunk] and [White} emphasize the importance of structural design to writing. Replace "writing" with "programming", and the principles are exactly the same: "Programming, to be effective, must follow closely the thoughts of the writer programmer, but not necessarily in the order in which those thoughts occur." So keep this guide in mind next time you start a new project.
[via Kottke]





Hmmm, while agree with the sentiment, none other the Kernighan and Plaugher wrote “The Elements of Programming Style” way back in 1978, when I was in college. It is highly recommended.
As I recall, it uses Pascal as the example language, but the priciples are applicable to any language / programming effort.
BTW, Strunk and White is an incredible book. It has been on my desk throughout my career. Even if you only write email, you *must* have this book. It’s the only book on clear writing that I’ve ever read that has actually been entertaining.
Ma
Posted at 3:44 pm on Oct 15th, 2008 by MaDecue