SlideShare una empresa de Scribd logo
1 de 38
Descargar para leer sin conexión
CS 361 Software
Week 1
Attendance Rules
• If you attend less than 80% of classes, you automatically
fail this class.
• If you arrive late (any later than 12:00:00 pm), don’t try
to interrupt the class.Wait outside till the break. You
are allowed in during the break.
• Be here, ask questions to make the most out of this
class.
Administrative
•Course Instructor
• Ahmet Bulut (ahmetbulut@sehir.edu.tr)
•Course TAs
• Jeton Pllana (Masters Student).
• Oguzhan Sagoglu (Undergraduate Student with inner
drive).
Coursebook
•Core Material
• Foundations of Agile Python Development
• The Definitive Guide to Django:Web Development
Done Right!
•Instrumentation/Enrichment Books
• Interactive DataVisualization for the Web
• Mining the Social Web
What’s Agile Development?
• Focus on short development cycles, on the scale of
weeks rather than months.
• Each development cycle, referred to as an iteration or
sprint, produces a working product.
What’s Agile Development?
Pair programming
What’s Agile Development?
Pair programming
User stories
What’s Agile Development?
Pair programming
User stories
The system metaphor
What’s Agile Development?
Pair programming
User stories
The system metaphor
On-site customers
What’s Agile Development?
Pair programming
User stories
The system metaphor
On-site customers
Unit tests
What’s Agile Development?
Pair programming
User stories
The system metaphor
On-site customers
Unit tests
Test-driven development
What’s Agile Development?
Pair programming
User stories
The system metaphor
On-site customers
Unit tests
Test-driven development
Refactoring
What’s Agile Development?
Pair programming
User stories
The system metaphor
On-site customers
Unit tests
Test-driven development
Refactoring
Simple Design
What’s Agile Development?
Pair programming
User stories
The system metaphor
On-site customers
Unit tests
Test-driven development
Refactoring
Simple Design
Short Iterations
What’s Agile Development?
Pair programming
User stories
The system metaphor
On-site customers
Unit tests
Test-driven development
Refactoring
Simple Design
Short Iterations
Collective code ownership
What’s Agile Development?
Pair programming
User stories
The system metaphor
On-site customers
Unit tests
Test-driven development
Refactoring
Simple Design
Short Iterations
Collective code ownership
Continuous reflection
What’s Agile Development?
Pair programming
User stories
The system metaphor
On-site customers
Unit tests
Test-driven development
Refactoring
Simple Design
Short Iterations
Collective code ownership
Continuous reflection
Continuous Integration
What’s Agile Development?
Pair programming
User stories
The system metaphor
On-site customers
Unit tests
Test-driven development
Refactoring
Simple Design
Short Iterations
Collective code ownership
Continuous reflection
Continuous Integration
Documentation
State of Affairs
• Some projects succeed and some projects fail.
• No matter what development methods are used.
• Development is about much more than simply the
techniques that are used.
• Good development depends upon a strong grounding in
reality; not everything can be known before a
project starts, and this must be taken into account
when planning.
Waterfall
Waterfall methodology
• It assumes that all change can be predicted and
described up front.
• Exploratory tasks that should be part of development
are pushed into the design phase.
• The waterfall methodology also assumes that
documentation can be sufficient to describe a system.
• A software specification detailed enough to
unambiguously describe the system is specific enough to
be translated automatically to software.
Manifesto for
Agile Software Development
• Produced in February, 2001.
Individuals and interactions over processes and tools
Working software over comprehensive documentation
Customer collaboration over contract negotiation
Responding to change over following a plan
Enabling...
• Agile methods reflect an underlying change in
technology.
• In the early ‘80s, computing power was expensive and
people’s time was comparatively cheap.
• The ability to run hundreds or thousands of tests in a
few seconds was fantasy.
• The idea of setting up and tearing down a SQL database
in memory was absurd.
What is Agile?
• Planning is critical to any project: the
development team needs to know the broad scope and
the intended form of the finished product.
• Defer coding until you have a basic grasp of what you
are trying to build.
• Agile methods aren’t a license to go flying off in any
direction.
• Agile development methods are excellent tools for
producing locally optimal designs, but on their own they
are insufficient to produce globally optimal designs.
What’s Agile Development?
Pair programming
User stories
The system metaphor
On-site customers
Unit tests
Test-driven development
Refactoring
Simple Design
Short Iterations
Collective code ownership
Continuous reflection
Continuous Integration
Documentation
Agile Methods
• Feature development and feature maintenance are one
and the same.
• Your software should always be functional. It may not
have the full functionality of the finished application, but
it should always be runnable and installable.
• Source code is not a product. It is a blueprint for a
product.
• Writing software is not producing new features, but
instead designing them. Similarly, rewriting existing
software is really redesigning old features.
Pair Programming
Pair Programming
• Most programmers aren’t that productive.
• Programming is lonely, and we’re social creatures.
• Programmers end up wasting half their day.
They spend time reading e-mail, whether personal or
company.
They surf the Web.
They fall into conversations with coworkers.
• To some extent, they are just trying to engage with
other human beings.
Code space
• Working alone with a computer has a strange effect on
the human mind.The computer gives rewards and
feedback, but it doesn’t engage our limbic system
• It’s a place isolated from the rest of the human race. It
takes time to come back from code space, often hours,
and those are the hours that we have to spend with our
families and friends.
Social Programmers
• Put two programmers together and their work
becomes a social activity.
• They work together.
• They don’t get stuck, they keep each other from being
distracted, they don’t go into code space, and they’re
happier at the end of the day.
• At worst, you haven’t lost any productivity, and you’ve
increased employee morale.
Pair programming
• ... improves code quality.
• ... is a form of constant code review.
• Code reviews are a process in which programmers
review and make suggestions about another developer’s
code.
• Note: Code reviews have been found to consistently
decrease the number of bugs per thousand lines of code, and
they have been found to be more effective at doing this than
any other single measure.
Pair programming
• ... transfers knowledge between team members.
• There is no obstacle between you and the next person.
If you need help from someone who knows a given
section of code, you can turn around and ask them.
• We’re very good at carrying on conversations with
other people and ignoring our larger environment. It
takes much more to interrupt our flow of thoughts.
• Think of all the wonderful conversations that people
have in restaurants and cafes.
Pair Programming
• Pairs are fluid. Programmers pair
with different programmers every
few days to spread the knowledge
around. Knowledge spreads like a virus.
• 1 person knows something in the beginning. She pairs
with someone. Now 2 people know.They move on to
different pairs, and now 4 people now know.
• The more pairings you have, the more it spreads.
• This protects the development group from the loss of
any one programmer.
User
Stories
1. User stories are the distillation of what the customer wants and what can be
produced by the programmers.
2. It is important for programmers and management to be involved in their
creation, as they provide a technical check on customers’ wild dreams.
3. It is important that the dreams be those of the customer, though, as the
programmers probably don’t have as firm a grasp on the business problems as
they’d like to believe.
System Metaphor
• There is just one way that the code, the developers, the
managers, and the customers talk about the design.
When everyone speaks the same vocabulary,
meetings and discussions flow smoothly.
• The system metaphor allows you to talk about your
design in a consistent and unambiguous way.
On-site customers
• Having a customer available saves the programmer from
having to make guesses about the domain. Making
guesses is expensive.
• The customer also serves as broad functional QA.
She gets to see things along the way. She can catch
situations where the developers and customer didn’t
communicate quite well enough.
• Having the customer on site speeds up this process of
interaction.The programmers don’t have to wait for
the customer to get back to them.
Thank you!
• See you on Thursday at 12pm.

Más contenido relacionado

La actualidad más candente

Software craftsmanshippresentation
Software craftsmanshippresentationSoftware craftsmanshippresentation
Software craftsmanshippresentation
Meagan Waller
 
Taming Big Balls of Mud with Diligence, Agile Practices, and Hard Work
Taming Big Balls of Mud with Diligence, Agile Practices, and Hard WorkTaming Big Balls of Mud with Diligence, Agile Practices, and Hard Work
Taming Big Balls of Mud with Diligence, Agile Practices, and Hard Work
Joseph Yoder
 
Agile software development and extreme Programming
Agile software development and extreme Programming  Agile software development and extreme Programming
Agile software development and extreme Programming
Fatemeh Karimi
 
Software Craftsmanship VS Software Engineering
Software Craftsmanship VS Software EngineeringSoftware Craftsmanship VS Software Engineering
Software Craftsmanship VS Software Engineering
Andy Maleh
 
Arch factory - Agile Design: Best Practices
Arch factory - Agile Design: Best PracticesArch factory - Agile Design: Best Practices
Arch factory - Agile Design: Best Practices
Igor Moochnick
 
Best practices for agile design
Best practices for agile designBest practices for agile design
Best practices for agile design
Igor Moochnick
 
Software Development in 21st Century
Software Development in 21st CenturySoftware Development in 21st Century
Software Development in 21st Century
Henry Jacob
 

La actualidad más candente (20)

Pair programming demystified
Pair programming demystifiedPair programming demystified
Pair programming demystified
 
Tdd 4 everyone full version
Tdd 4 everyone full versionTdd 4 everyone full version
Tdd 4 everyone full version
 
Extreme programming - a quick and agile overview !
Extreme programming - a quick and agile overview !Extreme programming - a quick and agile overview !
Extreme programming - a quick and agile overview !
 
Software craftsmanshippresentation
Software craftsmanshippresentationSoftware craftsmanshippresentation
Software craftsmanshippresentation
 
Introduction to Extreme Programming
Introduction to Extreme ProgrammingIntroduction to Extreme Programming
Introduction to Extreme Programming
 
Taming Big Balls of Mud with Diligence, Agile Practices, and Hard Work
Taming Big Balls of Mud with Diligence, Agile Practices, and Hard WorkTaming Big Balls of Mud with Diligence, Agile Practices, and Hard Work
Taming Big Balls of Mud with Diligence, Agile Practices, and Hard Work
 
extreme Programming
extreme Programmingextreme Programming
extreme Programming
 
Extreme Programming
Extreme ProgrammingExtreme Programming
Extreme Programming
 
XP Explained
XP ExplainedXP Explained
XP Explained
 
Agile Practices - eXtreme Programming
Agile Practices - eXtreme ProgrammingAgile Practices - eXtreme Programming
Agile Practices - eXtreme Programming
 
Agile software development and extreme Programming
Agile software development and extreme Programming  Agile software development and extreme Programming
Agile software development and extreme Programming
 
Xp(Xtreme Programming) presentation
Xp(Xtreme Programming) presentationXp(Xtreme Programming) presentation
Xp(Xtreme Programming) presentation
 
Software Craftsmanship VS Software Engineering
Software Craftsmanship VS Software EngineeringSoftware Craftsmanship VS Software Engineering
Software Craftsmanship VS Software Engineering
 
Arch factory - Agile Design: Best Practices
Arch factory - Agile Design: Best PracticesArch factory - Agile Design: Best Practices
Arch factory - Agile Design: Best Practices
 
Effective Quality Facilitation | Beyond Normal
Effective Quality Facilitation | Beyond NormalEffective Quality Facilitation | Beyond Normal
Effective Quality Facilitation | Beyond Normal
 
It's XP Stupid (2019)
It's XP Stupid (2019)It's XP Stupid (2019)
It's XP Stupid (2019)
 
Testers and Coders - Blurring the Lines
Testers and Coders - Blurring the LinesTesters and Coders - Blurring the Lines
Testers and Coders - Blurring the Lines
 
Best practices for agile design
Best practices for agile designBest practices for agile design
Best practices for agile design
 
Software Development in 21st Century
Software Development in 21st CenturySoftware Development in 21st Century
Software Development in 21st Century
 
eXtreme programming (XP) - An Overview
eXtreme programming (XP) - An OvervieweXtreme programming (XP) - An Overview
eXtreme programming (XP) - An Overview
 

Destacado (6)

Ecosystem for Scholarly Work
Ecosystem for Scholarly WorkEcosystem for Scholarly Work
Ecosystem for Scholarly Work
 
ESX Server from VMware
ESX Server from VMwareESX Server from VMware
ESX Server from VMware
 
Kaihl 2010
Kaihl 2010Kaihl 2010
Kaihl 2010
 
Bilisim 2010 @ bura
Bilisim 2010 @ buraBilisim 2010 @ bura
Bilisim 2010 @ bura
 
Programming with Python - Week 2
Programming with Python - Week 2Programming with Python - Week 2
Programming with Python - Week 2
 
Liselerde tanıtım sunumu
Liselerde tanıtım sunumuLiselerde tanıtım sunumu
Liselerde tanıtım sunumu
 

Similar a Agile Software Development

Agile_SDLC_Node.js@Paypal_ppt
Agile_SDLC_Node.js@Paypal_pptAgile_SDLC_Node.js@Paypal_ppt
Agile_SDLC_Node.js@Paypal_ppt
Hitesh Kumar
 
Twelve practices of XP_Se lect5 btech
Twelve practices of XP_Se lect5 btechTwelve practices of XP_Se lect5 btech
Twelve practices of XP_Se lect5 btech
IIITA
 
Why Isn't Clean Coding Working For My Team
Why Isn't Clean Coding Working For My TeamWhy Isn't Clean Coding Working For My Team
Why Isn't Clean Coding Working For My Team
Rob Curry
 

Similar a Agile Software Development (20)

The 360 Developer
The 360 DeveloperThe 360 Developer
The 360 Developer
 
Capability Building for Cyber Defense: Software Walk through and Screening
Capability Building for Cyber Defense: Software Walk through and Screening Capability Building for Cyber Defense: Software Walk through and Screening
Capability Building for Cyber Defense: Software Walk through and Screening
 
Waterfall Model.pptx
Waterfall Model.pptxWaterfall Model.pptx
Waterfall Model.pptx
 
10 skills developers should invest in for 2014
10 skills developers should invest in for 201410 skills developers should invest in for 2014
10 skills developers should invest in for 2014
 
Agile Software Development and DevOps 21092019
Agile Software Development and DevOps 21092019Agile Software Development and DevOps 21092019
Agile Software Development and DevOps 21092019
 
05 DIGI CREATIVE people&process
05 DIGI CREATIVE people&process05 DIGI CREATIVE people&process
05 DIGI CREATIVE people&process
 
Agile Project Management
Agile Project ManagementAgile Project Management
Agile Project Management
 
Introduction
IntroductionIntroduction
Introduction
 
Software testing
Software testingSoftware testing
Software testing
 
Distributed teams
Distributed teamsDistributed teams
Distributed teams
 
Distributed_teams
Distributed_teamsDistributed_teams
Distributed_teams
 
Agile_SDLC_Node.js@Paypal_ppt
Agile_SDLC_Node.js@Paypal_pptAgile_SDLC_Node.js@Paypal_ppt
Agile_SDLC_Node.js@Paypal_ppt
 
The Agile Movement
The Agile MovementThe Agile Movement
The Agile Movement
 
The Software Development Process
The Software Development ProcessThe Software Development Process
The Software Development Process
 
Twelve practices of XP_Se lect5 btech
Twelve practices of XP_Se lect5 btechTwelve practices of XP_Se lect5 btech
Twelve practices of XP_Se lect5 btech
 
3.pptx
3.pptx3.pptx
3.pptx
 
Introducing systems analysis, design & development Concepts
Introducing systems analysis, design & development ConceptsIntroducing systems analysis, design & development Concepts
Introducing systems analysis, design & development Concepts
 
Services, tools & practices for a software house
Services, tools & practices for a software houseServices, tools & practices for a software house
Services, tools & practices for a software house
 
Overview of Software Engineering Principles - SCPS311.pptx
Overview of Software Engineering Principles - SCPS311.pptxOverview of Software Engineering Principles - SCPS311.pptx
Overview of Software Engineering Principles - SCPS311.pptx
 
Why Isn't Clean Coding Working For My Team
Why Isn't Clean Coding Working For My TeamWhy Isn't Clean Coding Working For My Team
Why Isn't Clean Coding Working For My Team
 

Más de Ahmet Bulut

Más de Ahmet Bulut (12)

Nose Dive into Apache Spark ML
Nose Dive into Apache Spark MLNose Dive into Apache Spark ML
Nose Dive into Apache Spark ML
 
Data Economy: Lessons learned and the Road ahead!
Data Economy: Lessons learned and the Road ahead!Data Economy: Lessons learned and the Road ahead!
Data Economy: Lessons learned and the Road ahead!
 
Apache Spark Tutorial
Apache Spark TutorialApache Spark Tutorial
Apache Spark Tutorial
 
A Few Tips for the CS Freshmen
A Few Tips for the CS FreshmenA Few Tips for the CS Freshmen
A Few Tips for the CS Freshmen
 
Agile Data Science
Agile Data ScienceAgile Data Science
Agile Data Science
 
Data Science
Data ScienceData Science
Data Science
 
What is open source?
What is open source?What is open source?
What is open source?
 
Programming with Python - Week 3
Programming with Python - Week 3Programming with Python - Week 3
Programming with Python - Week 3
 
Programming with Python: Week 1
Programming with Python: Week 1Programming with Python: Week 1
Programming with Python: Week 1
 
Startup Execution Models
Startup Execution ModelsStartup Execution Models
Startup Execution Models
 
I feel dealsy
I feel dealsyI feel dealsy
I feel dealsy
 
Virtualization @ Sehir
Virtualization @ SehirVirtualization @ Sehir
Virtualization @ Sehir
 

Último

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 

Agile Software Development

  • 2. Attendance Rules • If you attend less than 80% of classes, you automatically fail this class. • If you arrive late (any later than 12:00:00 pm), don’t try to interrupt the class.Wait outside till the break. You are allowed in during the break. • Be here, ask questions to make the most out of this class.
  • 3. Administrative •Course Instructor • Ahmet Bulut (ahmetbulut@sehir.edu.tr) •Course TAs • Jeton Pllana (Masters Student). • Oguzhan Sagoglu (Undergraduate Student with inner drive).
  • 4. Coursebook •Core Material • Foundations of Agile Python Development • The Definitive Guide to Django:Web Development Done Right! •Instrumentation/Enrichment Books • Interactive DataVisualization for the Web • Mining the Social Web
  • 5. What’s Agile Development? • Focus on short development cycles, on the scale of weeks rather than months. • Each development cycle, referred to as an iteration or sprint, produces a working product.
  • 7. What’s Agile Development? Pair programming User stories
  • 8. What’s Agile Development? Pair programming User stories The system metaphor
  • 9. What’s Agile Development? Pair programming User stories The system metaphor On-site customers
  • 10. What’s Agile Development? Pair programming User stories The system metaphor On-site customers Unit tests
  • 11. What’s Agile Development? Pair programming User stories The system metaphor On-site customers Unit tests Test-driven development
  • 12. What’s Agile Development? Pair programming User stories The system metaphor On-site customers Unit tests Test-driven development Refactoring
  • 13. What’s Agile Development? Pair programming User stories The system metaphor On-site customers Unit tests Test-driven development Refactoring Simple Design
  • 14. What’s Agile Development? Pair programming User stories The system metaphor On-site customers Unit tests Test-driven development Refactoring Simple Design Short Iterations
  • 15. What’s Agile Development? Pair programming User stories The system metaphor On-site customers Unit tests Test-driven development Refactoring Simple Design Short Iterations Collective code ownership
  • 16. What’s Agile Development? Pair programming User stories The system metaphor On-site customers Unit tests Test-driven development Refactoring Simple Design Short Iterations Collective code ownership Continuous reflection
  • 17. What’s Agile Development? Pair programming User stories The system metaphor On-site customers Unit tests Test-driven development Refactoring Simple Design Short Iterations Collective code ownership Continuous reflection Continuous Integration
  • 18. What’s Agile Development? Pair programming User stories The system metaphor On-site customers Unit tests Test-driven development Refactoring Simple Design Short Iterations Collective code ownership Continuous reflection Continuous Integration Documentation
  • 19. State of Affairs • Some projects succeed and some projects fail. • No matter what development methods are used. • Development is about much more than simply the techniques that are used. • Good development depends upon a strong grounding in reality; not everything can be known before a project starts, and this must be taken into account when planning.
  • 21. Waterfall methodology • It assumes that all change can be predicted and described up front. • Exploratory tasks that should be part of development are pushed into the design phase. • The waterfall methodology also assumes that documentation can be sufficient to describe a system. • A software specification detailed enough to unambiguously describe the system is specific enough to be translated automatically to software.
  • 22. Manifesto for Agile Software Development • Produced in February, 2001. Individuals and interactions over processes and tools Working software over comprehensive documentation Customer collaboration over contract negotiation Responding to change over following a plan
  • 23. Enabling... • Agile methods reflect an underlying change in technology. • In the early ‘80s, computing power was expensive and people’s time was comparatively cheap. • The ability to run hundreds or thousands of tests in a few seconds was fantasy. • The idea of setting up and tearing down a SQL database in memory was absurd.
  • 24. What is Agile? • Planning is critical to any project: the development team needs to know the broad scope and the intended form of the finished product. • Defer coding until you have a basic grasp of what you are trying to build. • Agile methods aren’t a license to go flying off in any direction. • Agile development methods are excellent tools for producing locally optimal designs, but on their own they are insufficient to produce globally optimal designs.
  • 25. What’s Agile Development? Pair programming User stories The system metaphor On-site customers Unit tests Test-driven development Refactoring Simple Design Short Iterations Collective code ownership Continuous reflection Continuous Integration Documentation
  • 26. Agile Methods • Feature development and feature maintenance are one and the same. • Your software should always be functional. It may not have the full functionality of the finished application, but it should always be runnable and installable. • Source code is not a product. It is a blueprint for a product. • Writing software is not producing new features, but instead designing them. Similarly, rewriting existing software is really redesigning old features.
  • 28. Pair Programming • Most programmers aren’t that productive. • Programming is lonely, and we’re social creatures. • Programmers end up wasting half their day. They spend time reading e-mail, whether personal or company. They surf the Web. They fall into conversations with coworkers. • To some extent, they are just trying to engage with other human beings.
  • 29. Code space • Working alone with a computer has a strange effect on the human mind.The computer gives rewards and feedback, but it doesn’t engage our limbic system • It’s a place isolated from the rest of the human race. It takes time to come back from code space, often hours, and those are the hours that we have to spend with our families and friends.
  • 30. Social Programmers • Put two programmers together and their work becomes a social activity. • They work together. • They don’t get stuck, they keep each other from being distracted, they don’t go into code space, and they’re happier at the end of the day. • At worst, you haven’t lost any productivity, and you’ve increased employee morale.
  • 31. Pair programming • ... improves code quality. • ... is a form of constant code review. • Code reviews are a process in which programmers review and make suggestions about another developer’s code. • Note: Code reviews have been found to consistently decrease the number of bugs per thousand lines of code, and they have been found to be more effective at doing this than any other single measure.
  • 32. Pair programming • ... transfers knowledge between team members. • There is no obstacle between you and the next person. If you need help from someone who knows a given section of code, you can turn around and ask them. • We’re very good at carrying on conversations with other people and ignoring our larger environment. It takes much more to interrupt our flow of thoughts. • Think of all the wonderful conversations that people have in restaurants and cafes.
  • 33. Pair Programming • Pairs are fluid. Programmers pair with different programmers every few days to spread the knowledge around. Knowledge spreads like a virus. • 1 person knows something in the beginning. She pairs with someone. Now 2 people know.They move on to different pairs, and now 4 people now know. • The more pairings you have, the more it spreads. • This protects the development group from the loss of any one programmer.
  • 34. User Stories 1. User stories are the distillation of what the customer wants and what can be produced by the programmers. 2. It is important for programmers and management to be involved in their creation, as they provide a technical check on customers’ wild dreams. 3. It is important that the dreams be those of the customer, though, as the programmers probably don’t have as firm a grasp on the business problems as they’d like to believe.
  • 35. System Metaphor • There is just one way that the code, the developers, the managers, and the customers talk about the design. When everyone speaks the same vocabulary, meetings and discussions flow smoothly. • The system metaphor allows you to talk about your design in a consistent and unambiguous way.
  • 36. On-site customers • Having a customer available saves the programmer from having to make guesses about the domain. Making guesses is expensive. • The customer also serves as broad functional QA. She gets to see things along the way. She can catch situations where the developers and customer didn’t communicate quite well enough. • Having the customer on site speeds up this process of interaction.The programmers don’t have to wait for the customer to get back to them.
  • 37.
  • 38. Thank you! • See you on Thursday at 12pm.