Loading…

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

Like this presentation? Why not share!

Like this? Share it with your network

Share

Requirements the Last Bottleneck

on

  • 3,356 views

Software developers love tools for coding, debugging, testing, and configuration management. The more these tools improve the How of coding, the more we see that we're behind the curve on improving ...

Software developers love tools for coding, debugging, testing, and configuration management. The more these tools improve the How of coding, the more we see that we're behind the curve on improving the What, Why, and When. If you've been on a project that seemed vague, adrift, and endless, this talk can help. Make your projects run SMART.

Statistics

Views

Total Views
3,356
Views on SlideShare
3,301
Embed Views
55

Actions

Likes
7
Downloads
133
Comments
0

2 Embeds 55

http://www.berejeb.com 47
http://www.devetdesign.com 8

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution-NonCommercial-NoDerivs LicenseCC Attribution-NonCommercial-NoDerivs LicenseCC Attribution-NonCommercial-NoDerivs License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Requirements the Last Bottleneck Presentation Transcript

  • 1. Requirements: the Last Bottleneck Bill Karwin ZendCon • Santa Clara • 2010/11/3
  • 2. Me • Software developer • C, Java, Perl, PHP, Ruby • SQL maven • Author of new book SQL Antipatterns
  • 3. cost
  • 4. the greatest single cost in producing software is programmer time
  • 5. code faster!
  • 6. Tools for reducing programmer time • Dynamic languages • IDE’s • Lots of functions • Frameworks • OO design • Source control • Code reuse • Test automation • Code generation • Agile development
  • 7. • Tools help productivity for coding and error removal • But not so much for requirements management
  • 8. Error removal is the most time- consuming part of development Facts and Fallacies of Software Engineering, Robert L. Glass
  • 9. Cost to fix a defect Software Requirements, Karl E. Wiegers Code Complete, Steve McConnell
  • 10. code faster?
  • 11. code less!
  • 12. Front-load the project Facts and Fallacies of Software Engineering, Robert L. Glass
  • 13. managing requirements reduces project cost
  • 14. so why don’t we do it?
  • 15. Really? “We practice Agile Development, so we don’t need requirements.”
  • 16. Agile Manifesto? Principle #2: “Welcome changing requirements, even late in development.” http://www.agilemanifesto.org/
  • 17. Test-Driven Design? “TDD is very good at detailed specification and validation, but not so good at thinking through bigger issues such as the overall design, how people will use the system, or the UI design (for example).” Introduction to Test-Driven Design, Scott W. Ambler http://www.agiledata.org/essays/tdd.html
  • 18. Extreme Programming? Testing Coding If you don’t test, you don’t If you don’t code, you know when you are done haven’t done anything. coding. Listening Design If you don’t listen you So you can keep coding don’t know what to code and testing and listening or what to test. indefinitely. Extreme Programming Explained: Embrace Change, Kent Beck
  • 19. Scrum? • Product Backlog: the prioritized list of desired project outcomes/features http://www.scrumalliance.org/learn_about_scrum
  • 20. Repeat for each Agile iteration
  • 21. “Every time the design changes, we have to update the requirements doc.”
  • 22. “Requirements are not architecture. Requirements are not design, nor are they interface. Requirements are need.” The Pragmatic Programmer: From Journeyman to Master, Andrew Hunt and David Thomas
  • 23. do not dictate the implementation in the requirements
  • 24. Decoupling • Familiar principle of OO design • Interface vs. implementation • Design patterns (Strategy, Bridge, etc.)
  • 25. Decouple requirements from solutions Solution 1 Java, Spring ☒ Require- ments Solution 2 C#, .NET ☒ Solution 3 PHP ☑
  • 26. “How much detail is enough?”
  • 27. Really? “If it takes more than 15 minutes to determine what it is that you’re building, the spec wasn’t done properly.”
  • 28. • Imagine your boss has a great idea • He’s going to describe his idea to you • You’re to code it while he’s gone • He has to leave in 15 minutes • Here’s his vision...
  • 29. How much is enough? • Probably a bit more than 15 minutes • But not a whole book • Focus on goals to satisfy, not design or implementation
  • 30. “No one reads requirements docs anyway.”
  • 31. • Right—if the docs aren’t helpful • Make the docs helpful to developers • Describe what to build, not how
  • 32. SMART goals
  • 33. specific measurable achievable results-oriented timely
  • 34. Specific • Be concrete; use action verbs ☒ • Users will have an intuitive experience using our software. ☑ • Users will be able to post textual content of 140 characters or fewer, and to search the content posted by others.
  • 35. Specific • Also specify what the project does not need ☒ • Support all browsers, full stop. It doesn’t matter how obscure or how old. ☑ • Test the browser brands/versions used by 97% of the target market.
  • 36. Measurable • Describe testable or quantifiable goals ☒ • The web site will work at web scale. ☑ • The web site will serve up to 10 million users; up to 10 thousand posting simultaneously; up to 500 thousand reading content stream.
  • 37. Measurable • Measure progress as well as final result ☒ • The whole site must have no security issues. ☑ • Certify that each application use case is secure.
  • 38. Achievable • Set goals that are feasible and possible; stay appropriate to scope ☒ • Our site will change the way people communicate on the web. ☑ • Our site will let users contribute bite-sized content and search the content stream by users, by lists of users, or by tags or trends.
  • 39. Results-oriented • Describe outputs or results—not activities ☒ • Developers will always strive to achieve optimal performance. ☑ • The landing page will respond in ~0.5 sec; other pages will respond in ~1.0 sec.
  • 40. Results-oriented • Describe outputs or results—not activities ☒ • The developers will use LAMP stack, REST architecture, scrum methodology, and git. ☑ • Don’t dictate technology choices, design, or methodology in requirements.
  • 41. Time-related • Use specific, realistic deadlines; include milestones, schedule ☒ • We need our web site to go live sooner rather than later. ☑ • Four weeks for design; three weeks for developing prototype; one week for performance testing; three weeks for refactoring; one week for final work and deployment.
  • 42. Evaluation • Often forgotten phase • Testing is part of this of course • Other review of how well you met the requirements • In Agile terms, delivery to customer • Spell out evaluation criteria in requirements
  • 43. manage requirements to develop more efficiently
  • 44. decouple requirements from solutions
  • 45. be SMART
  • 46. SQL Antipatterns: Avoiding the Pitfalls of Database Programming http://www.pragprog.com/titles/bksqla/
  • 47. Copyright 2010 Bill Karwin www.slideshare.net/billkarwin Released under a Creative Commons 3.0 License: http://creativecommons.org/licenses/by-nc-nd/3.0/ You are free to share - to copy, distribute and transmit this work, under the following conditions: Attribution. Noncommercial. No Derivative Works. You must attribute this You may not use this work You may not alter, work to Bill Karwin. for commercial purposes. transform, or build upon this work.