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

Writing Empathetic Code

Writing Empathetic Code

We mostly focus on technology choices as engineers, but so much about programming is actually about human factors. Let's explore some of those factors and spend way too much time revising one method.

This talk should help us talk about some factors that make our code easy (dare I say enjoyable?) to work with, and infectious in its style.

Joseph Mastey

January 22, 2015
Tweet

More Decks by Joseph Mastey

Other Decks in Programming

Transcript

  1. Code is empathetic if we can confidently and comfortably manipulate

    it. Most code is not empathetic. This sucks.
  2. – Lao Tsu, The Tao Te Ching “The highest virtue

    is to act without a sense of self The highest kindness is to give without a condition The highest justice is to see without a preference”
  3. – Pete Hodgson, “Rails as a SOA Client” “This is

    the way you evolve (SOA) systems over time without having to redeploy your entire enterprise at once.”
  4. More Things to Think About Our tests are also docs,

    how do we optimize for that? Should we do UX for software libraries? How can we make code that acts as a good role model to the next developer? Good code should reduce the need for documentation (because nobody writes good docs anyway)
  5. More Resources Confident Ruby (eBook) - Avdi Grimm Practical Object

    Oriented Design in Ruby - Sandi Metz Thanks.