TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The Programming Aphorisms of Strunk and White

24 pointsby rgpover 15 years ago
Suggestion of Davin Stanek:<p>http://www.traceback.org/2008/12/17/coding-lessons-can-be-learned-from-writing/

3 comments

aharrisonover 15 years ago
I actually read Strunk and White as part of a computer science course this quarter, and I made many of the same connections the OP makes. Truly, a masterpiece.<p>I did notice, however, that most of the recommendations are extremely time-sensitive. It can be difficult in programming just as in writing to make trade-offs between time invested and benefits. In the OP's example about the Window's API, the offending code might be unimportant enough that the developer overhead of figuring out all the parameters would have been wasted effort. Maintainability has to be taken in context of importance and cost: sometimes code just doesn't need to be that clean.<p>Doing proper cost-benefit analysis (and getting it even remotely right) is still one of my weakest attributes, and it applies particularly heavily when utilising the advice of Strunk and White.<p>Also, one of my favorite quotes (paraphrasing):<p>"I apologize for the length of this letter, I did not have the time to make it shorter." -Blaise Pascal
andreyfover 15 years ago
I don't know about this. The point of writing something like it out, that is. Either people want to "get it", or they don't. Either they're curious about computers, or they're trying to get a job done (for whatever reason). Articles like this are preaching flying to birds and fish - the people who understand you are already there, the people who don't, aren't going to care.
elbenshiraover 15 years ago
"Vigorous writing is concise." - Strunk<p>This quote is a favorite of mine. Yearn for this, and your writing/coding will improve.