the psychology of biases

68
The Psychology of Biases Why Some Folks Are Averse to Better Development Practices Stephen Ritchie 15-Apr-2014

Upload: stephen-ritchie

Post on 14-Jun-2015

160 views

Category:

Technology


1 download

DESCRIPTION

Are you convinced that test-driven development (TDD) will benefit your team, but you find some developers view the practice as unproductive and unhelpful? Are you the lone voice advocating for continuous integration (CI), really convinced it will bring huge benefits, but others don't want to listen? Do you see the wisdom of secure-by-design and actively assessing software security, yet management feels that they've avoided any problems so far and assume they'll continue to avoid problems. Research tells us that the information we take in depends on a person’s assumptions, aversions, biases, and preconceptions. Broadly speaking, psychologists and scientists call these cognitive biases. People who study organizational behavior use their understanding of cognitive biases to bring important improvements and change to individuals, teams, and organizations. Come learn about common cognitive biases that impact development teams. Let's explore strategies to identify and cope with seemingly irrational decisions against new and better practices. Through specific examples, learn some straightforward ways that may help you manage the opposition you encounter that can hold teams back. Stephen Ritchie is the author of Pro .NET Best Practices (http://www.apress.com/9781430240235) and the organizer of the DC ALT .NET group (http://www.meetup.com/dcaltnet). He has been writing software professionally for over 20 years. Stephen works as a software development consultant at Excella Consulting in the Washington, D.C. area. His passion for following best practices has taught him to appreciate the value of experience, practical know-how, and continuous learning. Stephen is the .NET best practices steward at Excella Consulting, working with .NET project teams to facilitate and sort out the helpful practices from the unhelpful ones, the practicable from the impracticable, and the "sounds good" from the "it really is good" practices and principles.

TRANSCRIPT

Page 1: The Psychology of Biases

The Psychology of Biases Why Some Folks Are Averse to Better Development Practices

Stephen Ritchie15-Apr-2014

Page 2: The Psychology of Biases

Excella Consulting

Warm Up

• Three Clues–Handouts–Two Secret Clues–Third Clue in the Slides

Page 3: The Psychology of Biases

Excella Consulting

Warm Up

• Third clue:– One word answer– Begins with “H”– Ends with “y”

• Once the question is asked, quickly write down your one word answer.

• Stand up once you have the answer.

Page 4: The Psychology of Biases

Excella Consulting

Warm Up

What one word best describes how she was feeling just before Mary had a little lamb?

Page 5: The Psychology of Biases

Excella Consulting

Warm Up

What are your answers?

Happy

Hungry

Hostility

Page 6: The Psychology of Biases

Excella Consulting

Definition

Cognitive Bias

Own “subjective reality” from their perception of input

Page 7: The Psychology of Biases

Excella Consulting

Personal Story

Page 8: The Psychology of Biases

Excella Consulting

Personal Story

Page 9: The Psychology of Biases

Excella Consulting

Cognitive Bias

SemmelweisReflex

Page 10: The Psychology of Biases

Excella Consulting

Meet the man …

Dr. Semmelweis, M.D.

Obstetrician

Young

Vienna

1846

Page 11: The Psychology of Biases

Excella Consulting

Problem: Childbed Fever

Page 12: The Psychology of Biases

Excella Consulting

Mother’s Mortality Rate

Up To 30%

Semmelweis’ Hospital

Page 13: The Psychology of Biases

Excella Consulting

Mother’s Morality Rate

More Moderate

7.5%

Neighboring Hospital

Page 14: The Psychology of Biases

Excella Consulting

Scientific Method

Q: Why the difference?

Hypothesis

Experiment Conclusion

Page 15: The Psychology of Biases

Excella Consulting

Hypothesis

Between the morgue…

Page 16: The Psychology of Biases

Excella Consulting

Hypothesis

And the delivery room…

Page 17: The Psychology of Biases

Excella Consulting

Hypothesis

Disinfect!

Page 18: The Psychology of Biases

Excella Consulting

Mother’s Mortality Rate

Mortality Rate Dropped

Under 1%

Semmelweis’ Results

Page 19: The Psychology of Biases

Excella Consulting

Conclusion

Lack of Cleanliness

Caused Death

Page 20: The Psychology of Biases

Excella Consulting

Headline

1847: PhysicianMakes Amazing Discovery

Easy to implement, easily proven, and clearly saves lives.

Page 21: The Psychology of Biases

Excella Consulting

Why has nobody ever heard of him?

Dr. Semmelweis, M.D.

Who?Semmel

Page 22: The Psychology of Biases

Excella Consulting

Semmelweis’ Approach

ConventionalWisdom

Challenged

Page 23: The Psychology of Biases

Excella Consulting

Contemporaries’ Beliefs

Hippocrates4 Humours

Page 24: The Psychology of Biases

Excella Consulting

Reaction

Rejection

Criticism

Scorn

Page 25: The Psychology of Biases

Excella Consulting

Definition

Semmelweis Reflex

Reject new evidencethat contradicts

established beliefs

Page 26: The Psychology of Biases

Excella Consulting

Preaching Heresy

Page 27: The Psychology of Biases

Excella Consulting

Test-Driven Development

Test

CodeRefactor

Page 28: The Psychology of Biases

Excella Consulting

Confound Your Logic, Mr. Spock!

LogicalSequentialRationalAnalytical

Page 29: The Psychology of Biases

Excella Consulting

No Silver Bullet

FaultDefectWrongSolution

Avoid

Page 30: The Psychology of Biases

Excella Consulting

Focus On The Pain

Pain PointsAdaptations

Experiments

Results Outcomes

Page 31: The Psychology of Biases

Excella Consulting

Doctor McDreamy

Understanding

Gentle

Helpful

Intuitive

Patient

Page 32: The Psychology of Biases

Excella Consulting

Epilogue

So, whateverbecame of

Dr. Semmelweis?

Page 33: The Psychology of Biases

Excella Consulting

Lured To An Asylum …

Page 34: The Psychology of Biases

Excella Consulting

Put in a straightjacket …

Page 35: The Psychology of Biases

Excella Consulting

Honored Posthumously

Page 36: The Psychology of Biases

Excella Consulting

Don’t Be Like Semmelweis

InsistenceAvoid:

ObsessionArrogance

Page 37: The Psychology of Biases

Excella Consulting

Relax, Have Fun Wit It

Page 38: The Psychology of Biases

Excella Consulting

Cognitive Bias

NormalcyBias

Page 39: The Psychology of Biases

Excella Consulting

Tornado Alley

Page 40: The Psychology of Biases

Excella Consulting

How many tornado shelters in “Tornado Alley”?

Oklahoma

Percentage of homes with storm shelters?

Page 41: The Psychology of Biases

Excella Consulting

Surprisingly

In the Oklahoma City area, perhaps 10 to 20 percent of homes have

some kind of formal shelter.

Most houses and public buildings in ‘Tornado Alley’ lack storm shelters, by Agence France-Presse. May 22, 2013

Page 42: The Psychology of Biases

Excella Consulting

Surprisingly

“Unfortunately, people prefer homes with swimming

pools rather than storm shelters,” said Oklahoma State Representative Joe

DormanMost houses and public buildings in ‘Tornado Alley’ lack storm shelters, by Agence France-Presse. May 22, 2013

Page 43: The Psychology of Biases

Excella Consulting

Definition

Normalcy Bias

Underestimate both the possibility and

effects of a disaster

Page 44: The Psychology of Biases

Excella Consulting

With a name like Target, are we surprised?

Page 45: The Psychology of Biases

Excella Consulting

Security Development Lifecycle

Security & PrivacyRisk AssessmentsStatic Analysis

Incident ResponseFuzz Testing

Page 46: The Psychology of Biases

Excella Consulting

SDL Implementation

Page 47: The Psychology of Biases

Excella Consulting

Six Sigma

Page 48: The Psychology of Biases

Excella Consulting

Cognitive Bias

Ambiguity Effect

Page 49: The Psychology of Biases

Excella Consulting

OCR

Page 50: The Psychology of Biases

Excella Consulting

Punch Card

Page 51: The Psychology of Biases

Excella Consulting

Tried and True

“… it would be excessively costly to IBM to quickly introduce more modern

machinery using electronics and magnetic tape instead of

relays and punched cards.”

From Tabulators to Early Computers in the U.S. Life Insurance Industry: Co-evolution and Continuities, JoAnne Yates, October 1993, CCS WP #153, Sloan School WP #3618-93

Page 52: The Psychology of Biases

Excella Consulting

Definition

Ambiguity EffectFavor an option

where the outcome is known over one where the outcome

is unknown

Page 53: The Psychology of Biases

Excella Consulting

Exercise

• On your index card• Write 3 specific examples• Organizations pick development

patterns and practices that are– “old and adequate” over “new and

better”– “tried and true” over “possibly better”– “always done it” over “unprecedented”

Page 54: The Psychology of Biases

Excella Consulting

Why did we decide to go with …

Automated Testing

Manual Testing

over

Page 55: The Psychology of Biases

Excella Consulting

Why did we decide to go with …

Automated Builds

Manual Builds

over

Page 56: The Psychology of Biases

Excella Consulting

Why did we decide to go with …

Scripts

Manual Configuration

over

Page 57: The Psychology of Biases

Excella Consulting

Why did we decide to go with …

Continuous Integration

Final Integration

over

Page 58: The Psychology of Biases

Excella Consulting

Knowledge, Skill, and Attitude

What to doBarriers

How to do itWhy to do it

Page 59: The Psychology of Biases

Excella Consulting

Training, Coaching, and Practice

Short tutorialTrial periodTraining course

Measure valueEmbed a coach

Page 60: The Psychology of Biases

Excella Consulting

Cognitive Bias

Dunning-Kruger Effect

Page 61: The Psychology of Biases

Excella Consulting

Definition

Dunning-Kruger Effect

Some people can wildly overestimate their relative competence

Page 62: The Psychology of Biases

Excella Consulting

I want to be a lion tamer!

Monty Python - Vocational Guidance Counselor sketch

http://youtu.be/4h-wVe9a6rQ?t=1m6s

Page 63: The Psychology of Biases

Excella Consulting

Definition

Dunning-Kruger EffectPeople with true ability

can tend to underestimate their relative competence

Page 64: The Psychology of Biases

Excella Consulting

Let’s switch to NoSQL

Page 65: The Psychology of Biases

Excella Consulting

Uninitiated

Easy conceptInflated experts

Not yet challenged

Lack experience

Page 66: The Psychology of Biases

Excella Consulting

Knowledge Transfer, Experience, and Expertise

Patience & wisdomProof-of-conceptKnowledge transfer

Know-howExperience

Page 67: The Psychology of Biases

Excella Consulting

We are all individuals. (I’m not!)

“In a very real sense there is no such thing as

organizational behavior. There is only individual

behavior. Everything else flows out of that.”

Principle-Centered Leadership, Stephen Covey

Page 68: The Psychology of Biases

Excella Consulting

• Stephen Ritchie• Excella Consulting

– .NET developer– “Best Practices”– Training agile eng– ScrumMaster/coach

[email protected]

• http://www.linkedin.com/in/sritchie

• @ruthlesshelp• Organizer DC Alt.NET

Shameless Self Promotion

http://amzn.to/v8TD8E