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

The Empathetic Programmer

The Empathetic Programmer

The next time you feel the need to git blame and rant and start feeling incensed, maybe try looking for context and feeling empathy instead. Because, who knows, that git username, might even be yours...

Michael May

May 24, 2016
Tweet

Other Decks in Programming

Transcript

  1. Bargaining I’d say this is a 1 pointer, but could

    I have 8 point so I can rewrite it?
  2. “Participants gather, build an agenda, and begin talking. Conversations are

    directed and productive because the agenda for the meeting was democratically generated.” leancoffee.org / german.leancoffee.org
  3. “If you don't have context, how can you iterate? You

    can't. You can only recreate.” Lean Coffee East, London
  4. “…when people use their own labor to construct a particular

    product, even if done badly, they value the end result more…” wikipedia.org/wiki/IKEA_effect
  5. Security flaw leaves 25,000 iPhone and iPad apps vulnerable to

    attack www.v3.co.uk/v3-uk/news/2405825/security-flaw-leaves-25-000-iphone-and-ipad-apps-vulnerable-to-attack
  6. After years of development, mostly by one person (despite being

    used by thousands of app developers), a security flaw has been found in the AFNetworking library
  7. After years of development, mostly by one person (despite being

    used by thousands of app developers, many for paid apps) a security flaw has been found in the AFNetworking library
  8. twitter.com/objective_neo “Cocoapods doing what it does best, waste time, money

    and causing massive headache for everyone.” Hosam Hassan @Objective_Neo
  9. twitter.com/samnewman “Anyone can pick huge holes in a code base

    more than a year old, no matter who wrote it. So don’t be an asshat when inheriting code.” Sam Newman
 @samnewman
  10. “…working with constraints instead of against them… listen based on

    the assumption that an idea … is worth discussing… find common ground…build on the idea by adding things…” www.infoq.com/news/2015/01/leading-creative-collaboration
  11. Working with constraints
 Working with legacy code The assumption that

    an idea is worth discussing
 The assumption that the code is worth iterating on Build on the idea, by adding things
 Build on the code, by refactoring
  12. “At Slack, we believe that empathy is humanity’s most important

    superpower.” medium.com/@SlackEng image:brandfolder.com/slack
  13. “Good pull requests are an act of empathy, for both

    the author and reviewer” medium.com/@SlackEng image:brandfolder.com/slack
  14. image:brandfolder.com/slack Give it a good title, so people know what

    they’re getting into Use the description to say how you ended up with this solution Link to secondary material that can add more context Ask for specific feedback if it helps to focus the review effort Explain what’s going on medium.com/@SlackEng
  15. “What tools are they missing that’s making it hard to

    read this code?” - Laura Savino photo: michael may, uikonf 2016
  16. “...but developers also need to get a thicker skin. I

    should be able to review your work critically without you getting upset” NSLondon, London, May 2016
  17. “You are a terrible developer and you are messing with

    my baby. I’ll probably fire you on my return.”
  18. “…there’s something magical about when two humans get in a

    room… we’ll find some way to compromise.” realm.io/news/altconf-justin-searls-open-source-social-contract image: twitter.com/searls
  19. “At Slack, we believe that empathy is humanity’s most important

    superpower.” medium.com/@SlackEng photo: flickr.com/photos/levork
  20. We are not the code, our avatars, pull requests, tweets,

    comments or emojis Be curious, not judgemental, of others work Consider the context so that you can iterate, not recreate Give context to allow others to empathise and iterate on your work photo: flickr.com/photos/levork
  21. Why Happiness At Work Counts, The Guardian “top motivator is

    "respect" … "type of work", "providing good service to customers", "the people you work with" and finally, good "work-life balance” www.theguardian.com/money/2011/jul/15/happiness-work-why-counts
  22. Why Does Happiness Matter, The Guardian “ …around half as

    likely to catch the cold virus and have a 50% lower risk of experiencing … a heart attack or stroke.” theguardian.com/lifeandstyle/2014/nov/03/why-does-happiness-matter
  23. “The craft of programming begins with empathy, not formatting or

    languages or tools or algorithms or data structures.” - Kent Beck reality: michael may
 twitter: codermay
 slack: codermay