Ir al contenido
Londres, Reino Unido · Fundado en 1994
Español

Unit 3: Agile Development and Team Collaboration

The values behind agile development, how Scrum and Kanban work in practice, and the collaboration tools of version control and code review that modern teams depend on.

Unit 3 of 5 · about 54 minutes

3.1 Agile values and the Scrum framework

Agile is a family of approaches to software development that emphasise delivering working software in small increments, collaborating closely with customers and responding to change. It emerged as a reaction to heavily planned, document-driven methods in which requirements were fixed at the start and users saw the product only at the end, often discovering that it no longer met their needs.

The Agile Manifesto

In 2001 a group of software practitioners published the Manifesto for Agile Software Development. It states four values, preferring:

  • individuals and interactions over processes and tools;
  • working software over comprehensive documentation;
  • customer collaboration over contract negotiation;
  • responding to change over following a plan.

The manifesto makes clear that the items on the right still have value; the items on the left are simply valued more. Agile does not mean no planning, no documentation or no process. It means using them in service of delivering value and learning quickly. The manifesto is supported by twelve principles, including frequent delivery of working software, welcoming changing requirements, close daily cooperation between business people and developers, sustainable pace and regular reflection on how to become more effective.

Iterative and incremental delivery

Two ideas lie at the heart of agile. Incremental delivery means building the product in small, usable pieces rather than all at once. Iterative development means repeatedly refining the product based on feedback. Together they reduce risk: problems and misunderstandings surface early, when they are cheap to fix, and the most valuable features reach users sooner.

Scrum

Scrum is the most widely used agile framework. Work is organised into fixed-length cycles called sprints, typically between one and four weeks, at the end of which the team aims to have a usable increment of the product.

Scrum defines three accountabilities:

  • The product owner is responsible for maximising the value of the product, managing and ordering the product backlog (the prioritised list of work).
  • The developers are the people who build the increment, including whatever skills are needed, such as programming, testing and design.
  • The Scrum master helps the team understand and apply Scrum, removes obstacles and supports continuous improvement. This is a coaching and facilitation role, not a traditional project manager.

Scrum events

  1. Sprint planning: the team agrees a goal for the sprint and selects backlog items to work on.
  2. Daily Scrum: a short daily meeting, often around fifteen minutes, in which developers check progress towards the sprint goal and adjust their plan.
  3. Sprint review: at the end of the sprint, the team shows what was achieved to stakeholders and gathers feedback, which may change the backlog.
  4. Sprint retrospective: the team reflects on how it worked and agrees improvements for the next sprint.

Between these events, the product owner and team continuously refine the backlog, clarifying and splitting upcoming items so that they are ready for planning.

Remember: the sprint review is a working session to gather feedback, not a formal presentation. Its purpose is to inspect what was built and decide together what to do next.

Self-managing teams

Agile approaches favour small, cross-functional teams that decide how to do their work. Managers set direction and remove obstacles but do not assign individual tasks in detail. This tends to improve motivation and responsiveness, but it requires trust, clear goals and a supportive environment.

Common misunderstandings

  • "Agile means no documentation." Agile teams document what is useful, such as decisions, interfaces and user guidance.
  • "Agile means no deadlines or commitments." Teams commit to goals and can forecast progress, though scope may be adjusted to meet dates.
  • "Doing the meetings means we are agile." Following Scrum's events without delivering working software, gathering feedback or improving is sometimes called "agile in name only".
  • "Agile only works for software." Agile ideas are now applied in many fields, though they fit best where there is uncertainty and frequent feedback is possible.

In practice

Consider a project you are involved in. How often do the people it is for see working results and give feedback? How quickly could the team change direction if priorities shifted? Does the team regularly reflect on how it works? Even outside software, introducing a short regular review of progress with stakeholders and a brief team retrospective can bring many of the benefits of agile thinking.

3.2 Kanban, estimation and planning

Scrum is not the only way to work in an agile manner. Many teams use Kanban, either on its own or combined with elements of Scrum. All teams also need ways to estimate work, forecast delivery and plan releases. This lesson covers practical approaches that help teams deliver steadily and communicate realistic expectations.

Kanban

Kanban originated in manufacturing as a way to manage the flow of work and was later adapted for knowledge work, including software development. Rather than working in fixed sprints, Kanban teams focus on a continuous flow of work items. Its core practices include:

  • Visualising the workflow on a board with columns representing stages, such as "To do", "In progress", "In review", "Testing" and "Done". Each work item is a card that moves across the board.
  • Limiting work in progress (WIP): setting a maximum number of items allowed in each stage at once. When a column is full, the team helps finish existing work before starting new work.
  • Managing flow: monitoring how smoothly work moves and addressing bottlenecks.
  • Making policies explicit: agreeing and displaying rules, such as what "done" means for each stage.
  • Improving continuously based on evidence.

Why limiting work in progress helps

It seems counter-intuitive, but starting fewer things usually means finishing more. When people work on many items at once, they switch between tasks, lose time, and items wait in queues. Limiting WIP reduces multitasking, exposes bottlenecks and shortens the time each item takes from start to finish. A useful phrase is "stop starting, start finishing".

Flow metrics

Kanban teams often track:

  • Lead time: how long an item takes from being requested to being delivered.
  • Cycle time: how long an item takes from when work starts to when it is finished.
  • Throughput: how many items are completed in a given period.

These measures are based on what actually happened, which makes them useful for forecasting.

Estimation

Software estimation is notoriously difficult because each piece of work involves some novelty and uncertainty. Common approaches include:

  • Relative estimation with story points: rather than estimating hours, the team compares items with each other and assigns points reflecting relative size, complexity and uncertainty. Over time, the team learns how many points it typically completes in a sprint, known as its velocity.
  • T-shirt sizing: classifying items as small, medium, large or extra large for quick, rough planning.
  • Planning poker: team members estimate independently and then reveal their estimates simultaneously. Large differences prompt discussion, often revealing misunderstandings or hidden complexity.
  • Forecasting from data: using historical throughput to estimate, with a range of likely outcomes, how many items can be completed by a date.

Tip: the conversation during estimation is often more valuable than the number produced. When two people give very different estimates, ask each to explain their thinking before agreeing a figure.

Using estimates responsibly

Estimates are forecasts, not promises. Velocity and story points are tools for a team's own planning and should not be used to compare teams or judge individual performance; doing so encourages inflated estimates and undermines honesty. When communicating with stakeholders, present forecasts as ranges and update them as work progresses and more is learned.

Release planning and roadmaps

Beyond individual sprints, organisations need a view of the longer term. A product roadmap sets out the goals and major themes for the coming months, usually with more certainty about the near term than the distant future. Many teams organise roadmaps around outcomes, such as "reduce time to complete an application", rather than lists of features, leaving room to discover the best way to achieve each outcome.

Common mistakes

  • Starting many items at once and finishing few.
  • Treating early estimates as fixed commitments.
  • Using velocity as a productivity target.
  • Creating detailed plans far into the future that are never revisited.
  • Ignoring work that does not appear on the board, such as support requests.

In practice

Create a simple board for your own or your team's work using three to five columns. Put every current task on a card, including small and unplanned ones. Count how many items are in progress, then set a limit and try to respect it for two weeks. Note how long items take from start to finish before and after. Many people find that limiting work in progress reduces stress and improves delivery more than any other single change.

3.3 Version control and code review

Software teams change code constantly, often with several people working on the same files at the same time. Without careful management, changes would overwrite one another, mistakes would be hard to undo and nobody would know who changed what or why. Version control and code review are the everyday practices that make collaboration on code safe and effective.

What version control does

A version control system records changes to files over time. It allows teams to:

  • see the complete history of every file, including who made each change, when and why;
  • return to any earlier version if something goes wrong;
  • work on different changes in parallel without interfering with each other;
  • combine, or merge, changes from different people in a controlled way.

The most widely used system today is Git, a distributed system in which every developer has a full copy of the project history. Online platforms host shared Git repositories and add features for collaboration, such as code review and issue tracking.

Key concepts

  • Repository: the store containing all project files and their history.
  • Commit: a saved set of changes, with a message describing them.
  • Branch: an independent line of development. Developers typically create a branch for each feature or fix, keeping work separate until it is ready.
  • Merge: combining the changes from one branch into another.
  • Merge conflict: occurs when two branches have changed the same part of a file in different ways, requiring a person to decide how to combine them.
  • Pull request (also called a merge request): a proposal to merge a branch, which provides a place to review and discuss the changes.

Branching strategies

Teams agree how they use branches. Many modern teams favour trunk-based development, in which developers integrate small changes into the main branch frequently, at least daily, using short-lived branches. This reduces painful merge conflicts and supports continuous delivery. Other teams use longer-lived branches for features or releases, which can suit some contexts but makes integration harder the longer branches stay separate.

Good commit habits

  • Make small, focused commits that each do one thing.
  • Write clear commit messages explaining what changed and why, for example "Fix rounding error in VAT calculation for discounted items" rather than "fixes".
  • Never commit passwords, keys or other secrets; use dedicated secret management tools instead.
  • Commit and share work frequently rather than holding large changes locally for weeks.

Code review

In code review, one or more colleagues examine a change before it is merged. Reviews catch defects, improve design, spread knowledge of the codebase across the team and maintain consistent standards. They are also an important learning opportunity for both author and reviewer.

Effective reviewers look at:

  1. Correctness: does the change do what it is meant to, including edge cases?
  2. Design: does it fit well with the rest of the system?
  3. Readability: will others understand it?
  4. Tests: are there appropriate automated tests?
  5. Security: does it handle input safely and protect sensitive data?

Tip: keep changes small. A short change can be reviewed thoroughly in minutes, while a very large one tends to receive only a superficial glance, so defects are more likely to slip through.

A healthy review culture

Code review works best when it is respectful and constructive. Comments should focus on the code, not the person, explain reasoning and distinguish essential changes from optional suggestions. Authors should welcome feedback rather than defend every line. Automated tools can handle formatting and simple checks, leaving human reviewers free to focus on logic and design. Reviews should also be timely: changes waiting days for review slow the whole team.

Common mistakes

  • Long-lived branches that become difficult to merge.
  • Vague commit messages that make history hard to understand.
  • Committing secrets, which may remain in the history even after deletion.
  • Approving reviews without genuinely reading the change.
  • Harsh or personal review comments that discourage people from sharing work.

In practice

If you write code, look at your last ten commit messages. Would a colleague understand what each change did and why? Next time you review code, try commenting on correctness, design and tests, and frame suggestions as questions where appropriate. If you do not write code, version control is still useful: many teams use it for documentation, configuration and data analysis scripts, and its principles of history, review and controlled change apply to many kinds of shared work.

Case study: Improving flow in an insurance software team

Claimwise, the fictional in-house development team of a mid-sized insurer, used two-week sprints but rarely finished what it planned. At each sprint review there were many items "nearly done" and few that stakeholders could actually use.

During a retrospective, the team mapped its work on a board and discovered that most items were waiting for code review or testing. Developers started new items while waiting, so each person had four or five things in progress. Branches lived for weeks, and merging them was slow and error-prone.

The team introduced work-in-progress limits for the review and testing columns, agreed that reviewing others' changes took priority over starting new work, and moved to short-lived branches merged at least daily. It also agreed to split stories so that each could be completed within a few days.

Within two months, the average cycle time fell substantially and the sprint review showed several finished features each time. Stakeholders began giving more useful feedback because they could try working software rather than hear about partial progress.

Activity

Design a simple Kanban board for a team you know, listing the columns and setting a work-in-progress limit for each. Explain how work would move from request to done and where you expect bottlenecks. Then write three rules for code review, or for reviewing another type of shared work, that would help the team maintain quality.

Compare with a model answer

A good answer defines clear columns that reflect the team's real workflow, for example "Requested", "Ready", "In progress", "In review", "Testing" and "Done", with sensible limits such as three items in progress and two in review for a team of four. It explains that items are pulled into the next column only when there is capacity.

It identifies a likely bottleneck, such as review or testing, and suggests how the team would respond, for example by helping finish reviews before starting new work. The three review rules are specific and practical: keep changes small enough to review within thirty minutes; reviewers check correctness, readability and tests; and comments focus on the work, explain reasoning and distinguish required changes from suggestions.

Key takeaways

  • Agile approaches value working software, collaboration and responding to change, delivered in small increments with frequent feedback.
  • Scrum organises work into sprints with defined accountabilities and events for planning, daily coordination, review and retrospective.
  • Kanban visualises workflow and limits work in progress, which usually means finishing more by starting less.
  • Estimates are forecasts to support planning, not promises or productivity targets, and should be communicated as ranges.
  • Version control with small, frequent commits and respectful, timely code review makes collaboration on code safe and effective.

Unit check

Create a free account to answer the check, save your progress and receive your free certificate.

Create a free account Log in
← Unit 2 Unit 4 →
WhatsApp