InterviewBiz LogoInterviewBiz
← Back
What Is Agile Methodology and How Does It Differ from Waterfall?
software-engineeringmedium

What Is Agile Methodology and How Does It Differ from Waterfall?

MediumHotMajor: software engineeringatlassian, google

Concept

Agile and Waterfall represent two contrasting software development methodologies.
Where Waterfall follows a linear, structured sequence, Agile promotes iterative development, adaptability, and close collaboration with stakeholders.

In essence:

  • Waterfall is plan-driven: each phase must complete before the next begins.
  • Agile is value-driven: software evolves continuously through short, adaptive cycles.

1. Waterfall Model Overview

Waterfall is one of the oldest software engineering methodologies. It progresses through clearly defined stages, each dependent on the completion of the previous.

Phases:

  1. Requirements Gathering — Define all features and constraints up front.
  2. Design — Establish system architecture and interfaces.
  3. Implementation — Developers build according to specifications.
  4. Verification/Testing — QA verifies product against requirements.
  5. Deployment and Maintenance — Deliver the product, fix defects later.

Characteristics:

  • Sequential, rigid, and documentation-heavy.
  • Works best for projects with well-understood, fixed requirements (e.g., banking, defense).
  • Changes are costly once development begins.

Example Workflow (safe for MDX):

Requirements → Design → Implementation → Testing → Deployment

Advantages:

  • Predictable timelines and budgets.
  • Clear milestones and documentation trail.
  • Strong control and accountability.

Limitations:

  • Poor adaptability to change.
  • Late discovery of issues.
  • Limited stakeholder feedback until final delivery.

2. Agile Methodology Overview

Agile emerged as a response to the rigidity of Waterfall, emphasizing flexibility, collaboration, and incremental delivery. It values individuals and interactions over processes, and working software over documentation (Agile Manifesto, 2001).

Core Values of Agile:

  1. Customer collaboration over contract negotiation.
  2. Responding to change over following a fixed plan.
  3. Working software over comprehensive documentation.
  4. Individuals and interactions over tools and processes.

Principles:

  • Deliver working software frequently (weeks, not months).
  • Embrace changing requirements, even late in development.
  • Foster cross-functional collaboration.
  • Reflect and adjust processes through regular retrospectives.

Agile Workflow (safe for MDX):

Plan → Develop → Test → Review → Deploy → Repeat

3. Key Frameworks under Agile

Scrum

  • Divides work into fixed-length iterations called Sprints (2–4 weeks).
  • Roles: Product Owner, Scrum Master, and Development Team.
  • Events: Daily Stand-ups, Sprint Reviews, and Retrospectives.
  • Deliverables: A potentially shippable product increment every sprint.

Kanban

  • Focuses on visual workflow management using boards and WIP (Work-in-Progress) limits.
  • Continuous delivery rather than time-boxed sprints.
  • Great for maintenance and operations teams.

Extreme Programming (XP)

  • Focuses on technical excellence through practices like pair programming, TDD (Test-Driven Development), and continuous integration.
  • Encourages frequent releases and close customer collaboration.

4. Agile vs Waterfall Comparison

AspectWaterfallAgile
Process ModelLinear and sequentialIterative and incremental
FlexibilityLow — changes discouragedHigh — changes welcomed
Customer InvolvementOnly at start and endContinuous participation
Risk ManagementReactive (issues discovered late)Proactive (issues surfaced early)
DeliveryOne final releaseFrequent, incremental releases
DocumentationExtensive, upfrontMinimal, evolving
TestingAfter implementationContinuous (per iteration)
Feedback CycleLongShort
Best ForStable requirements, predictable scopeEvolving requirements, adaptive teams

5. Real-World Example

Scenario: Developing a Mobile Banking App

  • Waterfall Approach:

    • Requirements fixed upfront (e.g., balance inquiry, fund transfer).
    • Testing occurs after full implementation.
    • If the client requests “biometric login” mid-project, major redesign required.
  • Agile Approach:

    • Deliver initial MVP with login and balance view in Sprint 1.
    • Add fund transfer and notifications in subsequent sprints.
    • Stakeholder feedback integrated continuously — new features like “biometric login” can be added early.

Result: Agile ensures faster delivery, early validation, and higher alignment with user needs.


6. Advantages and Disadvantages

MethodologyAdvantagesDisadvantages
WaterfallPredictable milestones and budgets; easy documentation and tracking; good for regulated/hardware-tied workInflexible to change; delayed feedback; late discovery of issues
AgileContinuous feedback; early risk mitigation; faster time to market; motivated, empowered teamsHarder to predict budgets/timelines; requires high collaboration; documentation can lag

7. When to Choose Each

ScenarioPreferred Approach
Requirements fixed and regulatory compliance requiredWaterfall
Requirements evolve rapidly (startups, SaaS)Agile
Distributed or large teams with strict controlsWaterfall or Hybrid
Cross-functional, self-organizing teamsAgile
Long-term projects with evolving goalsAgile

Many organizations adopt a Hybrid Approach — using Agile for development but Waterfall for governance and compliance.


8. Agile in Practice

Modern software teams use tools like:

  • Jira, Trello, or Asana for sprint and backlog management.
  • GitHub Actions and CI/CD pipelines for continuous delivery.
  • Daily standups, retrospectives, and story points to manage progress.

Example Iteration (safe for MDX):

Sprint 1: Login & Dashboard → Sprint 2: Payments → Sprint 3: Analytics

Each sprint produces a working, testable version of the product.


Interview Tip

  • Clearly contrast Waterfall’s predictability with Agile’s adaptability.
  • Mention real-world frameworks (Scrum, Kanban) and tools (Jira, CI/CD).
  • Emphasize Agile mindset — collaboration, continuous improvement, and user-centric delivery.
  • Avoid claiming Agile is “better” — instead, discuss when and why to use each.

Summary Insight

Agile delivers value continuously through collaboration and flexibility. Waterfall delivers predictability through structure and control. The right choice depends on project complexity, change tolerance, and stakeholder engagement.