SlideShare a Scribd company logo
1 of 28
Download to read offline
“Simple”
                          Design and Testing
               by @zspencer for @rubytaiwan on May 31, 2011
               http://www.zacharyspencer.com




                                                 @rubytaiwan
Wednesday, June 1, 2011
WTF is “SIMPLE?!”


                     @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011


Wednesday, June 1, 2011
Everything is in my
            language of choice
                                                          It’s all in a single method!
                Took the fewest
                  keystrokes!

                                                          It’s aesthetically clean!

                      I just like it!


                     @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011


Wednesday, June 1, 2011
Maximizing the amount
                  of work *not* done

                     @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011


Wednesday, June 1, 2011
For Who?
                   •      The Users/Customers

                   •      The Stakeholders/Sponsors

                   •      The Team/You

                     @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011


Wednesday, June 1, 2011
Your Users




                           http://www.flickr.com/photos/57634636@N00/5134293410/
                     @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011


Wednesday, June 1, 2011
Your Stakeholders




                             http://www.flickr.com/photos/the_warfield/4992455554/
                     @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011


Wednesday, June 1, 2011
Your Team




                          http://www.flickr.com/photos/reinholdbehringer/1073165898/
                     @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011


Wednesday, June 1, 2011
Ok. How?


                     @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011


Wednesday, June 1, 2011
Radiate Information
               Center Design On The User
               Write Changeable Code


                     @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011


Wednesday, June 1, 2011
Radiate Information
               Center Design On The User
               Write Changeable Code


                     @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011


Wednesday, June 1, 2011
Ok. How?


                     @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011


Wednesday, June 1, 2011
4 Rules for
                                 Simple Design
                  * Pass All Tests
                  * Duplicate No Behavior or Configuration
                  * Express Intent Clearly and Consistently
                  * Have No Superfluous Parts



                     @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011


Wednesday, June 1, 2011
All Tests Must Pass!


                     @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011


Wednesday, June 1, 2011
Automated Story Tests




                     @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011


Wednesday, June 1, 2011
Automated Unit Tests




                     @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011


Wednesday, June 1, 2011
Exploratory Testing




                              http://www.flickr.com/photos/rogersmith/4947063094/
                     @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011


Wednesday, June 1, 2011
No Duplication




                              http://www.flickr.com/photos/vermininc/3327459367/
                     @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011


Wednesday, June 1, 2011
Smell Yer Code!




                                 http://www.flickr.com/photos/spine/2076612679/
                     @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011


Wednesday, June 1, 2011
Duplication Smells!
 http://rubylearning.com/blog/2010/11/08/how-does-your-code-smell/


                   •      Reinvented Wheel                  •   Data Classes

                   •      Combinatorial Explosion           •   Procedural Code

                   •      Middle Man                        •   Repeated Value

                   •      Greedy Methods/                   •   Big Classes
                          Modules


                     @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011


Wednesday, June 1, 2011
Express Intent
                  Clearly + Consistently!




                               http://www.flickr.com/photos/spacelion/263948300/
                     @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011


Wednesday, June 1, 2011
Reveal Why




                             http://www.flickr.com/photos/freeparking/2247693823/
                     @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011


Wednesday, June 1, 2011
(Re)Name Stuff




                            http://www.flickr.com/photos/cinderellas_blog/255282013/
                     @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011


Wednesday, June 1, 2011
Extract and Move Stuff




                              www.flickr.com/photos/22746515@N02/2989699245/
                     @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011


Wednesday, June 1, 2011
Some More Smells!
 http://rubylearning.com/blog/2010/11/08/how-does-your-code-smell/


                   •      Uncommunicative Name              •   Global Variables

                   •      Type Included in Name             •   Dynamic Code Creation

                   •      Inconsistent Names                •   Comments

                   •      Long Parameters                   •   Complicated Booleans




                     @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011


Wednesday, June 1, 2011
No Superfluous Parts!




                                http://www.flickr.com/photos/altuwa/4530651461/
                     @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011


Wednesday, June 1, 2011
Photo Credits
                   •      Kids Using iPads: Kathy Cassidy
                                                            •   Walmart Storefront: Walmart
                                                                Corporate
                   •      The Boardroom: The Warfield

                                                            •   Breakdancer: Gueorgui
                   •      Software Team at Work: Reinhold
                          Behringer
                                                            •   Alfred Lord Tennyson: freeparking

                   •      Passing Test: Davey Brown
                                                            •   The Pelican: Cindy Andrie

                   •      Spy Plane: Roger Smith
                                                            •   Earth Mover: Bert Kaufmann

                   •      Octuplet Consumers:Vermin Inc.
                                                            •   Rube Goldberg Machine: Sebastian
                                                                B
                   •      Smelling Wine: Rick

                     @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011


Wednesday, June 1, 2011
More Learnin’
                   •      A List of Books and Articles on Simple Design and
                          Testing: http://bit.ly/simple_design_and_testing

                   •      Other Resources I Think Are Awesome (Broken Down by
                          Speciality): http://bit.ly/zspencer_recommends

                   •      Pillars Free Webinars: http://pillartechnology.com/content/
                          webinarbrowse

                   •      Other Free Pillar Resources: http://pillartechnology.com/
                          page/agilelinks

                     @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011


Wednesday, June 1, 2011

More Related Content

Recently uploaded

Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Simple design and Testing by @zspencer for @rubytaiwan

  • 1. “Simple” Design and Testing by @zspencer for @rubytaiwan on May 31, 2011 http://www.zacharyspencer.com @rubytaiwan Wednesday, June 1, 2011
  • 2. WTF is “SIMPLE?!” @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011 Wednesday, June 1, 2011
  • 3. Everything is in my language of choice It’s all in a single method! Took the fewest keystrokes! It’s aesthetically clean! I just like it! @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011 Wednesday, June 1, 2011
  • 4. Maximizing the amount of work *not* done @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011 Wednesday, June 1, 2011
  • 5. For Who? • The Users/Customers • The Stakeholders/Sponsors • The Team/You @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011 Wednesday, June 1, 2011
  • 6. Your Users http://www.flickr.com/photos/57634636@N00/5134293410/ @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011 Wednesday, June 1, 2011
  • 7. Your Stakeholders http://www.flickr.com/photos/the_warfield/4992455554/ @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011 Wednesday, June 1, 2011
  • 8. Your Team http://www.flickr.com/photos/reinholdbehringer/1073165898/ @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011 Wednesday, June 1, 2011
  • 9. Ok. How? @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011 Wednesday, June 1, 2011
  • 10. Radiate Information Center Design On The User Write Changeable Code @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011 Wednesday, June 1, 2011
  • 11. Radiate Information Center Design On The User Write Changeable Code @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011 Wednesday, June 1, 2011
  • 12. Ok. How? @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011 Wednesday, June 1, 2011
  • 13. 4 Rules for Simple Design * Pass All Tests * Duplicate No Behavior or Configuration * Express Intent Clearly and Consistently * Have No Superfluous Parts @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011 Wednesday, June 1, 2011
  • 14. All Tests Must Pass! @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011 Wednesday, June 1, 2011
  • 15. Automated Story Tests @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011 Wednesday, June 1, 2011
  • 16. Automated Unit Tests @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011 Wednesday, June 1, 2011
  • 17. Exploratory Testing http://www.flickr.com/photos/rogersmith/4947063094/ @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011 Wednesday, June 1, 2011
  • 18. No Duplication http://www.flickr.com/photos/vermininc/3327459367/ @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011 Wednesday, June 1, 2011
  • 19. Smell Yer Code! http://www.flickr.com/photos/spine/2076612679/ @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011 Wednesday, June 1, 2011
  • 20. Duplication Smells! http://rubylearning.com/blog/2010/11/08/how-does-your-code-smell/ • Reinvented Wheel • Data Classes • Combinatorial Explosion • Procedural Code • Middle Man • Repeated Value • Greedy Methods/ • Big Classes Modules @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011 Wednesday, June 1, 2011
  • 21. Express Intent Clearly + Consistently! http://www.flickr.com/photos/spacelion/263948300/ @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011 Wednesday, June 1, 2011
  • 22. Reveal Why http://www.flickr.com/photos/freeparking/2247693823/ @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011 Wednesday, June 1, 2011
  • 23. (Re)Name Stuff http://www.flickr.com/photos/cinderellas_blog/255282013/ @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011 Wednesday, June 1, 2011
  • 24. Extract and Move Stuff www.flickr.com/photos/22746515@N02/2989699245/ @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011 Wednesday, June 1, 2011
  • 25. Some More Smells! http://rubylearning.com/blog/2010/11/08/how-does-your-code-smell/ • Uncommunicative Name • Global Variables • Type Included in Name • Dynamic Code Creation • Inconsistent Names • Comments • Long Parameters • Complicated Booleans @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011 Wednesday, June 1, 2011
  • 26. No Superfluous Parts! http://www.flickr.com/photos/altuwa/4530651461/ @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011 Wednesday, June 1, 2011
  • 27. Photo Credits • Kids Using iPads: Kathy Cassidy • Walmart Storefront: Walmart Corporate • The Boardroom: The Warfield • Breakdancer: Gueorgui • Software Team at Work: Reinhold Behringer • Alfred Lord Tennyson: freeparking • Passing Test: Davey Brown • The Pelican: Cindy Andrie • Spy Plane: Roger Smith • Earth Mover: Bert Kaufmann • Octuplet Consumers:Vermin Inc. • Rube Goldberg Machine: Sebastian B • Smelling Wine: Rick @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011 Wednesday, June 1, 2011
  • 28. More Learnin’ • A List of Books and Articles on Simple Design and Testing: http://bit.ly/simple_design_and_testing • Other Resources I Think Are Awesome (Broken Down by Speciality): http://bit.ly/zspencer_recommends • Pillars Free Webinars: http://pillartechnology.com/content/ webinarbrowse • Other Free Pillar Resources: http://pillartechnology.com/ page/agilelinks @zspencer -- http://www.zacharyspencer.com -- @rubytaiwan May 31, 2011 Wednesday, June 1, 2011