Docsity

Agile Development: Principles and Practices, Lecture notes of Computer Science

Partial preview of the text

Download Agile Development: Principles and Practices and more Lecture notes Computer Science in PDF only on Docsity!

Lecture III:

Agile Development

General Views/Opinions

 Rapid development and delivery is now often the most important requirement for software systems  Businesses operate in a fast –changing requirement and it is practically impossible to produce a set of stable software requirements  Software has to evolve quickly to reflect changing business needs.  Rapid software development  Specification, design and implementation are inter-leaved  System is developed as a series of versions with stakeholders involved in version evaluation  User interfaces are often developed using an IDE and graphical toolset.

Rapid Software Development

Agile Methods

  • Several individuals, The Agile Alliance,
    • motivated to constrain activities
    • such that certain outputs and artifacts are

predictably produced

  • Around 2000, these notables got together to

address common development problems.

  • Goal: outline values and principles to allow software teams to
    • develop quickly and
    • respond to change.

Agile Alliance

“We are uncovering better ways of developing
software by doing it and helping others do it. Through
this work we have come to the value:
 Individuals and interactions over processes and
tools
 Working software over comprehensive
documentation
 Customer collaboration over contract negotiation
 Responding to change over following a plan
That is, while there is value in the items on the right,
we value the items on the left more.”
 Let’s look at these values to discern exactly what is
meant…

Manifesto for Agile Software Development

 Code – not ideal medium for communicating rationale and system structure.  Team needs to produce human readable documents describing system and design decision rationale.  Too much documentation is worse than too little.  Take time; more to keep in sync with code; Not kept in sync? it is a lie and misleading.  Short rationale and structure document.  Keep this in sync; Only highest level structure in system kept.  Fatal flaw: Pursue documentation instead of software:  Rule: Produce no document unless need is immediate and significant. Value 2: Working Software over Comprehensive Documentation

 Not possible to describe software requirements up front and leave someone else to develop it within cost and on time.  Customers cannot just cite needs and go away  Successful projects require customer feedback on a regular and frequent basis – and not dependent upon a contract or SoW Value 3: Customer Collaboration over Contract Negotiation

 Our plans and ability to respond to changes is critical!  Course of a project cannot be predicted far into future.  Too many variables; not many good ways at estimating cost  As developers gain knowledge of the system and as customer gains knowledge about their needs, some tasks will become unnecessary.  Better planning strategy: – make detailed plans for the next few weeks, very rough plans for the next few months, and extremely crude plans beyond that.  Need to know what we will be working on the next few weeks; roughly for the next few months; a vague idea what system will do after a year.  Only invest in a detailed plan for immediate tasks; once plan is made, difficult to change due to momentum and commitment.  The lower resolution parts of the plan can be changed with relative ease. Value 4: Responding to Change over Following a Plan

Agile Principles

 A number of practices have significant impact upon quality of final system:

  1. Strong correlation between quality and early delivery of a partially functioning system.  The less functional the initial delivery, the higher the quality of the final delivery.
  2. Another strong correlation exists between final quality and frequently deliveries of increasing functionality.  The more frequent the deliveries, the higher the final quality.  Agile processes deliver early and often  Rudimentary system first followed by systems of increasing functionality every few weeks.  Customers may use these systems in production, or  May choose to review existing functionality and report on changes to be made. Principle 1: Our Highest Priority is to Satisfy the Customer through Early and Continuous Delivery of Valuable Software

 This is a statement of attitude.

 Participants in an agile process are not afraid of

change.

 Requirement changes are good;  Means team has learned more about what it will take to satisfy the market.

 Agile teams work to keep the software structure

flexible, so requirement change impact is minimal.

Principle 2: Welcome Changing Requirements, even late in Development. Agile Processes harness change for the Customer’s Competitive Advantage.

 For agile projects, there must be significant and frequent interaction between the

 customers,
 developers, and
 stakeholders.

 An agile project must be continuously guided. Principle 4: Business People and Developers Must Work Together ‘Daily’ throughout the Project.

  • An agile project has people the most important
factor of success.
  • All other factors, process, environment, management, etc., are considered to be second order effects, and are subject to change if they are having an adverse effect upon the people.
  • Example: if the office environment is an obstacle to
the team, change the office environment.
  • If certain process steps are obstacles to the team,
change the process steps.

Principle 5: Build Projects around Motivated Individuals. (Give them the environment and support they need, and trust them to get the job done.)