30
Sponsored by the U.S. Department of Defense © 2007 by Carnegie Mellon University The Victim Trap The TSP Symposium September 23, 2008 page 1 September 23, 2008 Watts S. Humphrey and The Software Engineering Institute Carnegie Mellon University

The Victim Trap - Carnegie Mellon University · The Need for Skill To resist unrealistic commitments, developers must • recognize unrealistic commitments • be able to make realistic

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: The Victim Trap - Carnegie Mellon University · The Need for Skill To resist unrealistic commitments, developers must • recognize unrealistic commitments • be able to make realistic

Sponsored by the U.S. Department of Defense © 2007 by Carnegie Mellon University

The Victim Trap

The TSP Symposium

September 23, 2008

page 1

September 23, 2008

Watts S. Humphrey andThe Software Engineering InstituteCarnegie Mellon University

Page 2: The Victim Trap - Carnegie Mellon University · The Need for Skill To resist unrealistic commitments, developers must • recognize unrealistic commitments • be able to make realistic

A War Story - 1

The team had 9 software and 4 hardware engineers.

They were charged with building a new hardware-software system.

© 2008 by Carnegie Mellon UniversityIntroduction 2

hardware-software system.

This was to be a new communications line testing device.

Management told the team the product was critically needed in 9 months.

Page 3: The Victim Trap - Carnegie Mellon University · The Need for Skill To resist unrealistic commitments, developers must • recognize unrealistic commitments • be able to make realistic

A War Story - 2

Developing the prior product had taken two years.

Would this be another crisis project?• late

© 2008 by Carnegie Mellon UniversityIntroduction 3

• late• over cost• months of testing• lots of defects

Or could the team somehow succeed?

The key question: Will this team fall into the victim trap?

Page 4: The Victim Trap - Carnegie Mellon University · The Need for Skill To resist unrealistic commitments, developers must • recognize unrealistic commitments • be able to make realistic

Agenda

Being a Victim

The Nature of Software Work

Breaking from the Victim Trap

© 2008 by Carnegie Mellon UniversityIntroduction 4

Breaking from the Victim Trap• Attitude• Skill• Courage• Credibility

Conclusions

Page 5: The Victim Trap - Carnegie Mellon University · The Need for Skill To resist unrealistic commitments, developers must • recognize unrealistic commitments • be able to make realistic

Being a Victim

Ask developers why their projects are troubled, and you will typically get several reasons.• Changing requirements• Overly aggressive schedules• Management pressure

© 2008 by Carnegie Mellon UniversityIntroduction 5

• Management pressure• Inadequate resources

Page 6: The Victim Trap - Carnegie Mellon University · The Need for Skill To resist unrealistic commitments, developers must • recognize unrealistic commitments • be able to make realistic

Victim Talk These answers are different ways of saying

• It wasn’t my fault.• They did it to me.• Isn’t life awful?

This is victim talk.

© 2008 by Carnegie Mellon UniversityIntroduction 6

This is victim talk.

Page 7: The Victim Trap - Carnegie Mellon University · The Need for Skill To resist unrealistic commitments, developers must • recognize unrealistic commitments • be able to make realistic

The Causes of Victimhood

Victims feel powerless to change the situation.

Software developers typically feel that

© 2008 by Carnegie Mellon UniversityIntroduction 7

that• they work to dictated schedules• their processes are imposed• somebody else controls the

requirements• their assignments can change

without warning

Page 8: The Victim Trap - Carnegie Mellon University · The Need for Skill To resist unrealistic commitments, developers must • recognize unrealistic commitments • be able to make realistic

What Makes Victims

People act like victims for two reasons.• They are powerless.• Someone has actual or perceived power over them.

Software people feel like victims because of the nature of

© 2008 by Carnegie Mellon UniversityIntroduction 8

their work.

This is the way software work has always been managed.

Page 9: The Victim Trap - Carnegie Mellon University · The Need for Skill To resist unrealistic commitments, developers must • recognize unrealistic commitments • be able to make realistic

The Nature of Software Work

Software work is challenging.• Every project has changing requirements.• Schedules are always aggressive.• Management’s job is to exert pressure.• Resources are always tight.

© 2008 by Carnegie Mellon UniversityIntroduction 9

This is the way the software world has always been.

And it is the way it always will be – unless we change it.

Page 10: The Victim Trap - Carnegie Mellon University · The Need for Skill To resist unrealistic commitments, developers must • recognize unrealistic commitments • be able to make realistic

Successful Engineers

But engineers in other fields are not victims.

How come?

© 2008 by Carnegie Mellon UniversityIntroduction 10

Truly successful engineers are optimists.• They are convinced the

job can be done.• They can think of

thousands of alternate things to try.

• They never give up.

Page 11: The Victim Trap - Carnegie Mellon University · The Need for Skill To resist unrealistic commitments, developers must • recognize unrealistic commitments • be able to make realistic

The Nature of Engineering

Other developers build new and advanced products.

Their work also involves • exploring the unknown• overcoming obstacles

© 2008 by Carnegie Mellon UniversityIntroduction 11

• being creative and resourceful

But they also do quality work for predictable costs and on committed schedules.

Page 12: The Victim Trap - Carnegie Mellon University · The Need for Skill To resist unrealistic commitments, developers must • recognize unrealistic commitments • be able to make realistic

Software Differs from Hardware

Software and hardware work both involve design.

The big difference is implementation.

Manufacturing represents most of the hardware costs.

© 2008 by Carnegie Mellon UniversityIntroduction 12

For software, manufacturing costs are generally small.

The manufacturing discipline shows hardware engineers how to avoid the victim trap.

Page 13: The Victim Trap - Carnegie Mellon University · The Need for Skill To resist unrealistic commitments, developers must • recognize unrealistic commitments • be able to make realistic

Breaking from the Victim Trap

The way to break out of the victim trap is to assert yourself.

While this may sound easy, it is not.

There are four things you must have.

© 2008 by Carnegie Mellon UniversityIntroduction 13

• The right attitude• The proper skills • Courage • Credibility

Only then can you assert yourself.

And if you don’t assert yourself, you will remain a victim.

Page 14: The Victim Trap - Carnegie Mellon University · The Need for Skill To resist unrealistic commitments, developers must • recognize unrealistic commitments • be able to make realistic

The Importance of Attitude

Winners generally win.

Victims feel like losers.

Losers usually lose.

© 2008 by Carnegie Mellon UniversityIntroduction 14

Losers usually lose.

Page 15: The Victim Trap - Carnegie Mellon University · The Need for Skill To resist unrealistic commitments, developers must • recognize unrealistic commitments • be able to make realistic

The Desired Attitude

For developers to consistently win, they must act like winners.

To act like winners, they must• be confident that they can win

© 2008 by Carnegie Mellon UniversityIntroduction 15

• be confident that they can win• believe that success is up to

them• feel in control of the outcome• feel personally responsible for

the outcome

Page 16: The Victim Trap - Carnegie Mellon University · The Need for Skill To resist unrealistic commitments, developers must • recognize unrealistic commitments • be able to make realistic

Changing Attitudes

To act like a winner, you must feel like a winner.

But to feel like a winner, you must be a winner.

© 2008 by Carnegie Mellon UniversityIntroduction 16

must be a winner.

Software teams usually lose.

Cheerleading alone will not make winners.

Page 17: The Victim Trap - Carnegie Mellon University · The Need for Skill To resist unrealistic commitments, developers must • recognize unrealistic commitments • be able to make realistic

Being a Winner

To be a winner, you must meet your commitments.

To meet your commitments, you must• resist unrealistic commitments• negotiate realistic commitments

© 2008 by Carnegie Mellon UniversityIntroduction 17

This takes skill, courage, and credibility.

Page 18: The Victim Trap - Carnegie Mellon University · The Need for Skill To resist unrealistic commitments, developers must • recognize unrealistic commitments • be able to make realistic

The Need for Skill

To resist unrealistic commitments, developers must• recognize unrealistic commitments• be able to make realistic plans

To recognize that a commitment is unrealistic, developers must

© 2008 by Carnegie Mellon UniversityIntroduction 18

must• understand that all unplanned commitments are

unrealistic• insist on making a plan before agreeing to any

commitment

To do this, they must• know how to make estimates and plans• have the data to make accurate estimates

Page 19: The Victim Trap - Carnegie Mellon University · The Need for Skill To resist unrealistic commitments, developers must • recognize unrealistic commitments • be able to make realistic

What Next?

We must have a winner’s attitude.

We must also have planning skills.

© 2008 by Carnegie Mellon UniversityIntroduction 19

But it takes courage to negotiate with management.

Page 20: The Victim Trap - Carnegie Mellon University · The Need for Skill To resist unrealistic commitments, developers must • recognize unrealistic commitments • be able to make realistic

Building Courage

There are three parts to building courage.

First, you must know what you are talking about.

Second, you must have self confidence.

© 2008 by Carnegie Mellon UniversityIntroduction 20

Third, you need the support of allies.

The PSP training and TSP launch provide all three.

Page 21: The Victim Trap - Carnegie Mellon University · The Need for Skill To resist unrealistic commitments, developers must • recognize unrealistic commitments • be able to make realistic

A TSP Industrial Project

The project was to develop communications test equipment.

Plan Actual

© 2008 by Carnegie Mellon UniversityIntroduction 21

Size - KLOC 110Effort - hours 16,000 Schedule - weeks 77Defects per KLOCIntegration and system test 1.1 Field trial 0.0Customer use 0.0

89.914,711

71

0.60.020.0

Page 22: The Victim Trap - Carnegie Mellon University · The Need for Skill To resist unrealistic commitments, developers must • recognize unrealistic commitments • be able to make realistic

Building Team Capability

Everyone on the team must have skills, knowledge, and self-confidence.

Why everyone?

© 2008 by Carnegie Mellon UniversityIntroduction 22

Suppose only one person on the team had the needed skills and knowledge.• No one else would have self confidence.• The team’s ability to negotiate a realistic commitment

would depend on one person.

That is the problem with most software teams.

Page 23: The Victim Trap - Carnegie Mellon University · The Need for Skill To resist unrealistic commitments, developers must • recognize unrealistic commitments • be able to make realistic

Needed Knowledge and Skills

Basic knowledge• What plans are• Why plans are important• The importance of data in

planning

© 2008 by Carnegie Mellon UniversityIntroduction 23

The skills• How to gather data• How to estimate with data• How to build plans from

estimates

Page 24: The Victim Trap - Carnegie Mellon University · The Need for Skill To resist unrealistic commitments, developers must • recognize unrealistic commitments • be able to make realistic

Self-Confidence

The second critical step is building self-confidence.

To build their self-confidence, teams must• know what management wants• know how to meet that need

© 2008 by Carnegie Mellon UniversityIntroduction 24

• have a plan for the work• have confidence in the plan

The team members must also have trust.• In the entire team• In management

Page 25: The Victim Trap - Carnegie Mellon University · The Need for Skill To resist unrealistic commitments, developers must • recognize unrealistic commitments • be able to make realistic

Getting Allies

The third critical need is for allies.

Allies are important for two reasons.• Safety in numbers• Team commitment

© 2008 by Carnegie Mellon UniversityIntroduction 25

TSP teambuilding provides allies.• A sense of belonging• The support of coworkers• A disciplined environment• A common commitment to team goals

Then it is not just the team leader’s plan, it is the team’s.

Page 26: The Victim Trap - Carnegie Mellon University · The Need for Skill To resist unrealistic commitments, developers must • recognize unrealistic commitments • be able to make realistic

TSP Teambuilding

To build teams, groups must work under pressure to accomplish risky and challenging tasks.

The TSP launch task is to build the team’s plan.

© 2008 by Carnegie Mellon UniversityIntroduction 26

The risk is not meeting management’s needs.

Everyone has the knowledge and skill to do the work.

The result is a cohesive group and a detailed and accurate plan.

Page 27: The Victim Trap - Carnegie Mellon University · The Need for Skill To resist unrealistic commitments, developers must • recognize unrealistic commitments • be able to make realistic

The Final Step

We have discussed• the winners attitude• planning skills• the courage to resist unrealistic commitments

© 2008 by Carnegie Mellon UniversityIntroduction 27

What about credibility?

Page 28: The Victim Trap - Carnegie Mellon University · The Need for Skill To resist unrealistic commitments, developers must • recognize unrealistic commitments • be able to make realistic

Credibility

TSP teams get credibility by• making detailed plans• standing behind these plans• committing to meet their goals• being cohesive and committed

© 2008 by Carnegie Mellon UniversityIntroduction 28

Management is impressed by the team’s plan.

But the team’s attitude and self-confidence are most convincing.

Page 29: The Victim Trap - Carnegie Mellon University · The Need for Skill To resist unrealistic commitments, developers must • recognize unrealistic commitments • be able to make realistic

Conclusions

The TSP enables developers and their teams to break out of the victim trap.

Initially, TSP teams have credibility because they have produced detailed plans.

© 2008 by Carnegie Mellon UniversityIntroduction 29

produced detailed plans.

To retain this credibility, these teams must consistently meet their commitments.

Page 30: The Victim Trap - Carnegie Mellon University · The Need for Skill To resist unrealistic commitments, developers must • recognize unrealistic commitments • be able to make realistic

For More InformationVisit the PSP or TSP web sites

http://www.sei.cmu.edu/psp/http://www.sei.cmu.edu/tsp/

Contact a PSP transition partner http://www.sei.cmu.edu/collaborating/partners/trans.part.psp.html

Contact SEI customer relations

© 2008 by Carnegie Mellon UniversityIntroduction 30

Contact SEI customer relations Software Engineering Institute, Carnegie Mellon UniversityPittsburgh, PA 15213-3890Phone, voice mail, and on-demand FAX: 412/268-5800E-mail: [email protected]

See the bookWinning With Software: an Executive Strategy, by Watts Humphrey, Addison-Wesley, 2002