Monday, February 4, 2013

How Would Don Draper Hack?

A few weeks ago, a link was posted on Signal vs. Noise to the following article - "10 Tips on Writing from David Ogilvy". As expected, the "original Mad Man" had some really good tips on writing. What I wasn't expecting was how applicable his advice was to writing good code.

I propose my interpretation (in red) of what the memo might have looked like if he was running a software company today:

People who think well, write well. Woolly minded people write woolly memos functions, woolly letters classes and woolly speeches applications. Good writing is not a natural gift. You have to learn to write well. Here are 10 hints:

  1. Read the Roman-Raphaelson book on writing Code Complete. Read it three times.
  2. Write code the way you talk. Naturally.
  3. Use short words variables, short sentences functions and short paragraphs classes.
  4. Never use jargon words like "reconceptualize", "demassification", "attitudinally", "judgmentally" in output to clients. They are hallmarks of a pretentious ass.
  5. Never write more than two pages on any subject class.
  6. Check your quotations references and open source credits.
  7. Never deploy a change send a letter or a memo on the day you write it. Read it aloud the next morning — and then edit it.
  8. If it is something important, get a colleague to improve it.
  9. Before you send your letter or your memo check in your code, make sure it is crystal clear what you want the recipient next developer to do understand.
  10. If you want ACTION, don’t write standards or documentation. Go and tell the guy person what you want.

Pretty interesting how close it is to the original, but maybe not all that surprising. After all, writing code is the act of explaining to another human, in the simplest way possible, what you are expecting a computer to do. It is the story of your application (for the human), as well as the instructions (for the computer).

Maybe the next time you sit down in front of your favorite editor with a caffeinated drink, you should start by asking yourself: HWDDH (How Would Don Draper Hack)?

No comments:

Post a Comment