Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Jane Austen on PEP8: An English Major's Tips on...

Jane Austen on PEP8: An English Major's Tips on Writing Better Code

Jane Austen said, “It is a truth universally acknowledged, that a single module in possession of a good function, must be in want of a test.” In this talk, we’ll discover how writing tips from your Comp 101 class can make your code cleaner and clearer. Both programming and English value ruthless editing, clear and concise communication, and continuously researching new ideas to refine work.

Presented at DjangoCon US 2015. Video: https://www.youtube.com/watch?v=55gXwFviOuQ

Lacey Williams Henschel

September 08, 2015
Tweet

More Decks by Lacey Williams Henschel

Other Decks in Technology

Transcript

  1. Jane Austen on PEP8: An English Major’s Tips for Writing

    Better Code Lacey Williams Henschel @laceynwilliams
  2. AssertionError: False is not true. Dear reader, We regret that

    an error has been made. Warmly, The programmers
  3. Beautiful is better than ugly. Explicit is better than implicit.

    Simple is better than complex. Complex is better than complicated. Flat is better than nested. Sparse is better than dense. Readability counts. - Excerpt from The Zen of Python, Tim Peters.
  4. I dipped my pen, and began to write the lines

    that must be there, for the sake of the unknown physician who would follow me. Diana Gabaldon, The Fiery Cross
  5. Sources The Freer Biblical Manuscripts: Fresh Studies of an American

    Treasure Trove, ed. Larry W. Hurtado. TEI and transcript. Jane Austen with Laptop. The Boston Globe, Aug. 17, 2009. Test-Driven Development with Python, Harry Percival. Purdue University Online Writing Lab, sample outline. View function from Django Girls code. Emily Dickinson’s handwritten coconut cake recipe, by Garrett Ziegler.
  6. Sources The Zen of Python, Tim Peters. The Fiery Cross,

    Diana Gabaldon. The Elements of Style, William Strunk, Jr., and E. B. White.