SlideShare ist ein Scribd-Unternehmen logo
1 von 23
Downloaden Sie, um offline zu lesen
@daniel_davis
the best code,

is code never written
the best code, is code never written
@daniel_davis
• Brief Intro
• Focus For The Session
• Why Is It Important
• Figurative Techniques
• Literal Techniques
• Recap
• Q & A
Agenda
2
the best code, is code never written
@daniel_davis
• Founder/Lead Consultant at Elev8
• Business Improvement Consultant
• Developer & Technical Coach
• Innovator, Life Hacker, Maker
• Pro Snowboard Instructor
• Parent of 3 + 2
Brief Intro
3
the best code, is code never written
@daniel_davis
• Discussion over Presentation
• Principles over Prescription
Focus For The Session
4
the best code, is code never written
@daniel_davis
Global cost of code is 

hard to narrow down.
However, I did find that in 

2018, in the US alone the 

cost for poor quality code 

was $2,840,000,000,000.
Why Is It Important
5
the best code, is code never written
@daniel_davis
Code Is Expensive -
- Hard To Write
- Cost Of Delay
- Complicated To Maintain
We Are Expensive - (prefer to keep it so)
- Smart / Talented / Rare
- Specialized Skillsets
- Dedicated & Committed Mindset
Why Is It Important
6
the best code, is code never written
@daniel_davis
Pizza Delivery Service Voice App that was solved by a
simple 1-(800) phone number that already existed.
YAGNI - (You Aren’t Gonna Need It)
- Lines of code are a liability, don’t look at it as the "number of
lines produced”, but rather the “number of lines spent”.
- More explicitly, lines of code saved is directly correlated to
dollars we didn’t spend.
- Minimizes waste.
Figurative Techniques
7
the best code, is code never written
@daniel_davis
NIH - (Not Invented Here)
- Beg (to use it)
- Borrow (if already written don’t reinvent it)
- Steal (note ‘stealing’ to learn is far different from stealing for profit)
- Cheat To Win (it’s was bad when we were kids, it’s cool now)
There is a fine line when it comes to relying on others code.
Make sure the source is trusted and reliable and 

test protect it as if it was your own.
Figurative Techniques
8
the best code, is code never written
@daniel_davis
FITYMI - (Fake It Till You Make It)
- Mock, Fake, Stub, Etc… don’t make the actual thing it until
you know you absolutely need it.
- “It” is far better suited to your emotions, ie. confidence, pride,
etc… than it is actual skills.
Figurative Techniques
9
“The cheapest, fastest, and most reliable components of a
computer system are those that aren’t there.”
- Gordon Bell
the best code, is code never written
@daniel_davis
Not all your thoughts on the solution should turn into code.
In fact most shouldn’t. Be aggressively de-selective.
KISS - (Keep It Stupid Simple)
- What's the simplest thing that could possibly work? 

(Beck/Cunningham)
- ST2CPWAKYO2HRJOM (The Simplest Thing That Could Possibly
Work And Keep You Out Of Human Resources, Jail, Or Morgue)
- Simple is subjective, it’s really just focusing on “one thing”
Figurative Techniques
10
the best code, is code never written
@daniel_davis
“A complex system that works is inevitably found to have
evolved from a simple system that works.”
- John Gall
ED - (Emergent Design or Evolutionary Design)
- Primitive Whole, which builds in sophistication over time.
- Pursue high-value and high-risk items early.
- Follow Scientific Method
- Give it time to learn, but don’t be afraid to fail fast.
Figurative Techniques
11
the best code, is code never written
@daniel_davis
MVP -
Figurative Techniques
12
the best code, is code never written
@daniel_davis
Pretotyping -
- Avoid “Can we build it?” or “Will it work?” Instead focus on
“Should we build it at all?” or “If we build it, will people buy it?”
- Pretotypes make it possible to make a go/no-go decision at a
fraction of the cost of prototypes: hours or days instead of
weeks or months, and pennies instead of dollars.
Literal Techniques
13
“Design until you feel you understand the problem.

Write code until you realize you don’t.”
- Software Engineering Conference, 1968
the best code, is code never written
@daniel_davis
Literal Techniques
ATDD & TDD Visualized -
- The shared practice of - Red - Green - Refactor
14
the best code, is code never written
@daniel_davis
The biggest advantage TDD (Design) provides is the 

ability to protect you from yourself.
TDD - (Test Driven Design/Development)
- Writing a tests before code helps assure only necessary code is
written.
- Doing so inherently makes the code simple and clear.
- Ensures the individual units of the system are built correctly.
Literal Techniques
15
the best code, is code never written
@daniel_davis
The biggest advantage ATDD provides is the ability to
protect the business from themselves.
ATDD - (Acceptance Test Driven Design/Dev)
- Same approach as TDD, however these tests are generally
written from a business/stakeholders perspective.
- Helps devs identify the appropriate code to write, that is, code
that reflects the outcomes desired.
- Meant to ensure the business value of the system is being met.
Literal Techniques
16
the best code, is code never written
@daniel_davis
“The single biggest problem with communication 

is the illusion that it has taken place.”
- George Bernard Shaw
WWAC - (Well Written Acceptance Criteria)
- Acceptance Criteria that has real and legit content and context
to the business value that is being requested.
- Understandable by any and all team members.
- Realistic and Achievable.
Literal Techniques
17
the best code, is code never written
@daniel_davis
Rules are meant to be broken. Make sure they are
manageable and have some kind of ranking and/or priority.
DoR & DoD - (Definition of Ready & Done)
- Driven more from a team standards approach.
- Still also Realistic and Achievable.
- Meet the need and ONLY the need.
- Don’t over-complicate them.
Literal Techniques
18
the best code, is code never written
@daniel_davis
Figurative
• YAGNI
• NIH
• FITYMI
• KISS
• ED
Recap
Literal
• Pretotyping
• TDD
• ATDD
• WWAC
• DoR & DoD
19
the best code, is code never written
@daniel_davis
Resources
• https://www.it-cisq.org/the-cost-of-poor-quality-software-in-the-us-a-2018-
report/The-Cost-of-Poor-Quality-Software-in-the-US-2018-Report.pdf
• https://www.artima.com/intv/simplest.html
• https://insights.dice.com/2018/07/05/tech-pros-steal-code-good-idea-bad/
• https://www.pretotyping.org/uploads/1/4/0/9/14099067/
pretotype_it_2nd_pretotype_edition-2.pdf
• https://github.com/northofnormal/ConferenceTalks/blob/master/
qualityvsquantity.pdf
• https://docs.google.com/document/d/
1A1sLe2R-9XhRpOiAZfKii2944PM5tUKS17EgaiGCnLE/export?format=pdf
20
the best code, is code never written
@daniel_davis
Q & A
21
the best code, is code never written
@daniel_davis
Now, go unto the world 

& not write some code!
22
the best code, is code never written
@daniel_davis
Thank you!
Daniel Davis
dan@elev8.services
@daniel_davis
linkedin.com/in/davisdaniel
23

Weitere ähnliche Inhalte

Was ist angesagt?

Software development management slides by George Berkowski (Hailo)
Software development management slides by George Berkowski (Hailo)Software development management slides by George Berkowski (Hailo)
Software development management slides by George Berkowski (Hailo)
MiniBar
 

Was ist angesagt? (11)

5-10-15 years of Java developer career - Warszawa JUG 2015
5-10-15 years of Java developer career - Warszawa JUG 20155-10-15 years of Java developer career - Warszawa JUG 2015
5-10-15 years of Java developer career - Warszawa JUG 2015
 
Software development management slides by George Berkowski (Hailo)
Software development management slides by George Berkowski (Hailo)Software development management slides by George Berkowski (Hailo)
Software development management slides by George Berkowski (Hailo)
 
The Technical Debt Trap - NDC Oslo 2014
The Technical Debt Trap - NDC Oslo 2014The Technical Debt Trap - NDC Oslo 2014
The Technical Debt Trap - NDC Oslo 2014
 
The gordian knot
The gordian knotThe gordian knot
The gordian knot
 
The alignment
The alignmentThe alignment
The alignment
 
Software Craftsmanship and Agile Code Games
Software Craftsmanship and Agile Code GamesSoftware Craftsmanship and Agile Code Games
Software Craftsmanship and Agile Code Games
 
Loosely Coupled Complexity - Unleash the power of your Domain Model with Comm...
Loosely Coupled Complexity - Unleash the power of your Domain Model with Comm...Loosely Coupled Complexity - Unleash the power of your Domain Model with Comm...
Loosely Coupled Complexity - Unleash the power of your Domain Model with Comm...
 
Identifying and Managing Technical Debt
Identifying and Managing Technical DebtIdentifying and Managing Technical Debt
Identifying and Managing Technical Debt
 
Play to Learn: Agile Games with Cards and Dice
Play to Learn: Agile Games with Cards and DicePlay to Learn: Agile Games with Cards and Dice
Play to Learn: Agile Games with Cards and Dice
 
Gateway to Agile: XP and BDD
Gateway to Agile: XP and BDD Gateway to Agile: XP and BDD
Gateway to Agile: XP and BDD
 
Idea stickies green bar - Wroclaw edition
Idea stickies green bar - Wroclaw editionIdea stickies green bar - Wroclaw edition
Idea stickies green bar - Wroclaw edition
 

Ähnlich wie the best code, is code never written

Ähnlich wie the best code, is code never written (20)

As a Salesforce Developer I will... 7 Ground Rules for Success, Robert SĂśsemann
As a Salesforce Developer I will... 7 Ground Rules for Success, Robert SĂśsemannAs a Salesforce Developer I will... 7 Ground Rules for Success, Robert SĂśsemann
As a Salesforce Developer I will... 7 Ground Rules for Success, Robert SĂśsemann
 
10 bezcennych lekcji dla software developera stającego się szefem firmy
10 bezcennych lekcji dla software developera stającego się szefem firmy10 bezcennych lekcji dla software developera stającego się szefem firmy
10 bezcennych lekcji dla software developera stającego się szefem firmy
 
Software Design Notes
Software Design NotesSoftware Design Notes
Software Design Notes
 
Building In Quality: The Beauty Of Behavior Driven Development (BDD)
Building In Quality: The Beauty Of Behavior Driven Development (BDD)Building In Quality: The Beauty Of Behavior Driven Development (BDD)
Building In Quality: The Beauty Of Behavior Driven Development (BDD)
 
Code Quality Makes Your Job Easier
Code Quality Makes Your Job EasierCode Quality Makes Your Job Easier
Code Quality Makes Your Job Easier
 
WordCamp Nashville: Clean Code for WordPress
WordCamp Nashville: Clean Code for WordPressWordCamp Nashville: Clean Code for WordPress
WordCamp Nashville: Clean Code for WordPress
 
Agile Development Overview (with a bit about builds)
Agile Development Overview (with a bit about builds)Agile Development Overview (with a bit about builds)
Agile Development Overview (with a bit about builds)
 
Architecting Solutions and Systems – Randy’s Secrets to Success
Architecting Solutions and Systems – Randy’s Secrets to SuccessArchitecting Solutions and Systems – Randy’s Secrets to Success
Architecting Solutions and Systems – Randy’s Secrets to Success
 
Open Web Technologies and You - Durham College Student Integration Presentation
Open Web Technologies and You - Durham College Student Integration PresentationOpen Web Technologies and You - Durham College Student Integration Presentation
Open Web Technologies and You - Durham College Student Integration Presentation
 
OSDC 2019 | Feature Branching considered Evil by Thierry de Pauw
OSDC 2019 | Feature Branching considered Evil by Thierry de PauwOSDC 2019 | Feature Branching considered Evil by Thierry de Pauw
OSDC 2019 | Feature Branching considered Evil by Thierry de Pauw
 
Unicorn or Rhino? Agility in the Data Realm?
Unicorn or Rhino? Agility in the Data Realm?Unicorn or Rhino? Agility in the Data Realm?
Unicorn or Rhino? Agility in the Data Realm?
 
DrupalCon 2013 Making Support Fun & Profitable
DrupalCon 2013 Making Support Fun & ProfitableDrupalCon 2013 Making Support Fun & Profitable
DrupalCon 2013 Making Support Fun & Profitable
 
20 things I wish I had known about modern product development by Andy Birds -...
20 things I wish I had known about modern product development by Andy Birds -...20 things I wish I had known about modern product development by Andy Birds -...
20 things I wish I had known about modern product development by Andy Birds -...
 
TDD vs. ATDD - What, Why, Which, When & Where
TDD vs. ATDD - What, Why, Which, When & WhereTDD vs. ATDD - What, Why, Which, When & Where
TDD vs. ATDD - What, Why, Which, When & Where
 
Top 10 Things To Do If You Want To Get Fired Over A WordPress Project
Top 10 Things To Do If You Want To Get Fired Over A WordPress ProjectTop 10 Things To Do If You Want To Get Fired Over A WordPress Project
Top 10 Things To Do If You Want To Get Fired Over A WordPress Project
 
Code review guidelines
Code review guidelinesCode review guidelines
Code review guidelines
 
Common Characteristics of the Greatest Developers
 Common Characteristics of the Greatest Developers Common Characteristics of the Greatest Developers
Common Characteristics of the Greatest Developers
 
Clean Code Software Engineering
Clean Code Software Engineering Clean Code Software Engineering
Clean Code Software Engineering
 
Don't let your tests slow you down
Don't let your tests slow you downDon't let your tests slow you down
Don't let your tests slow you down
 
How to successfully engage enterprise software vendors – software selection
How to successfully engage enterprise software vendors – software selectionHow to successfully engage enterprise software vendors – software selection
How to successfully engage enterprise software vendors – software selection
 

Mehr von Daniel Davis

Mehr von Daniel Davis (10)

Safely Calling BS Against Teams & Leadership
Safely Calling BS Against Teams & LeadershipSafely Calling BS Against Teams & Leadership
Safely Calling BS Against Teams & Leadership
 
code is easy. humans are hard.
code is easy. humans are hard.code is easy. humans are hard.
code is easy. humans are hard.
 
not BEYOND agile, but rather BEHIND it
not BEYOND agile, but rather BEHIND itnot BEYOND agile, but rather BEHIND it
not BEYOND agile, but rather BEHIND it
 
assert(false) agile.healthy == agile.easy
assert(false) agile.healthy == agile.easyassert(false) agile.healthy == agile.easy
assert(false) agile.healthy == agile.easy
 
A Family That Hacks Together, Interacts Together!
A Family That Hacks Together, Interacts Together!A Family That Hacks Together, Interacts Together!
A Family That Hacks Together, Interacts Together!
 
The 3 Fs Equation : Failure - Fear = Freedom
The 3 Fs Equation : Failure - Fear = FreedomThe 3 Fs Equation : Failure - Fear = Freedom
The 3 Fs Equation : Failure - Fear = Freedom
 
Your Messy Agile Career
Your Messy Agile CareerYour Messy Agile Career
Your Messy Agile Career
 
Story Mapping Made Real - 2h
Story Mapping Made Real - 2hStory Mapping Made Real - 2h
Story Mapping Made Real - 2h
 
What the heck is DevOps and why do we need it?
What the heck is DevOps and why do we need it?What the heck is DevOps and why do we need it?
What the heck is DevOps and why do we need it?
 
Learning Agility over Learning Agile
Learning Agility over Learning AgileLearning Agility over Learning Agile
Learning Agility over Learning Agile
 

KĂźrzlich hochgeladen

Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
VictoriaMetrics
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
chiefasafspells
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
masabamasaba
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
masabamasaba
 

KĂźrzlich hochgeladen (20)

WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security Program
 
WSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - Keynote
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
Love witchcraft +27768521739 Binding love spell in Sandy Springs, GA |psychic...
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 

the best code, is code never written

  • 2. the best code, is code never written @daniel_davis • Brief Intro • Focus For The Session • Why Is It Important • Figurative Techniques • Literal Techniques • Recap • Q & A Agenda 2
  • 3. the best code, is code never written @daniel_davis • Founder/Lead Consultant at Elev8 • Business Improvement Consultant • Developer & Technical Coach • Innovator, Life Hacker, Maker • Pro Snowboard Instructor • Parent of 3 + 2 Brief Intro 3
  • 4. the best code, is code never written @daniel_davis • Discussion over Presentation • Principles over Prescription Focus For The Session 4
  • 5. the best code, is code never written @daniel_davis Global cost of code is 
 hard to narrow down. However, I did find that in 
 2018, in the US alone the 
 cost for poor quality code 
 was $2,840,000,000,000. Why Is It Important 5
  • 6. the best code, is code never written @daniel_davis Code Is Expensive - - Hard To Write - Cost Of Delay - Complicated To Maintain We Are Expensive - (prefer to keep it so) - Smart / Talented / Rare - Specialized Skillsets - Dedicated & Committed Mindset Why Is It Important 6
  • 7. the best code, is code never written @daniel_davis Pizza Delivery Service Voice App that was solved by a simple 1-(800) phone number that already existed. YAGNI - (You Aren’t Gonna Need It) - Lines of code are a liability, don’t look at it as the "number of lines produced”, but rather the “number of lines spent”. - More explicitly, lines of code saved is directly correlated to dollars we didn’t spend. - Minimizes waste. Figurative Techniques 7
  • 8. the best code, is code never written @daniel_davis NIH - (Not Invented Here) - Beg (to use it) - Borrow (if already written don’t reinvent it) - Steal (note ‘stealing’ to learn is far different from stealing for profit) - Cheat To Win (it’s was bad when we were kids, it’s cool now) There is a fine line when it comes to relying on others code. Make sure the source is trusted and reliable and 
 test protect it as if it was your own. Figurative Techniques 8
  • 9. the best code, is code never written @daniel_davis FITYMI - (Fake It Till You Make It) - Mock, Fake, Stub, Etc… don’t make the actual thing it until you know you absolutely need it. - “It” is far better suited to your emotions, ie. confidence, pride, etc… than it is actual skills. Figurative Techniques 9 “The cheapest, fastest, and most reliable components of a computer system are those that aren’t there.” - Gordon Bell
  • 10. the best code, is code never written @daniel_davis Not all your thoughts on the solution should turn into code. In fact most shouldn’t. Be aggressively de-selective. KISS - (Keep It Stupid Simple) - What's the simplest thing that could possibly work? 
 (Beck/Cunningham) - ST2CPWAKYO2HRJOM (The Simplest Thing That Could Possibly Work And Keep You Out Of Human Resources, Jail, Or Morgue) - Simple is subjective, it’s really just focusing on “one thing” Figurative Techniques 10
  • 11. the best code, is code never written @daniel_davis “A complex system that works is inevitably found to have evolved from a simple system that works.” - John Gall ED - (Emergent Design or Evolutionary Design) - Primitive Whole, which builds in sophistication over time. - Pursue high-value and high-risk items early. - Follow Scientific Method - Give it time to learn, but don’t be afraid to fail fast. Figurative Techniques 11
  • 12. the best code, is code never written @daniel_davis MVP - Figurative Techniques 12
  • 13. the best code, is code never written @daniel_davis Pretotyping - - Avoid “Can we build it?” or “Will it work?” Instead focus on “Should we build it at all?” or “If we build it, will people buy it?” - Pretotypes make it possible to make a go/no-go decision at a fraction of the cost of prototypes: hours or days instead of weeks or months, and pennies instead of dollars. Literal Techniques 13 “Design until you feel you understand the problem.
 Write code until you realize you don’t.” - Software Engineering Conference, 1968
  • 14. the best code, is code never written @daniel_davis Literal Techniques ATDD & TDD Visualized - - The shared practice of - Red - Green - Refactor 14
  • 15. the best code, is code never written @daniel_davis The biggest advantage TDD (Design) provides is the 
 ability to protect you from yourself. TDD - (Test Driven Design/Development) - Writing a tests before code helps assure only necessary code is written. - Doing so inherently makes the code simple and clear. - Ensures the individual units of the system are built correctly. Literal Techniques 15
  • 16. the best code, is code never written @daniel_davis The biggest advantage ATDD provides is the ability to protect the business from themselves. ATDD - (Acceptance Test Driven Design/Dev) - Same approach as TDD, however these tests are generally written from a business/stakeholders perspective. - Helps devs identify the appropriate code to write, that is, code that reflects the outcomes desired. - Meant to ensure the business value of the system is being met. Literal Techniques 16
  • 17. the best code, is code never written @daniel_davis “The single biggest problem with communication 
 is the illusion that it has taken place.” - George Bernard Shaw WWAC - (Well Written Acceptance Criteria) - Acceptance Criteria that has real and legit content and context to the business value that is being requested. - Understandable by any and all team members. - Realistic and Achievable. Literal Techniques 17
  • 18. the best code, is code never written @daniel_davis Rules are meant to be broken. Make sure they are manageable and have some kind of ranking and/or priority. DoR & DoD - (Definition of Ready & Done) - Driven more from a team standards approach. - Still also Realistic and Achievable. - Meet the need and ONLY the need. - Don’t over-complicate them. Literal Techniques 18
  • 19. the best code, is code never written @daniel_davis Figurative • YAGNI • NIH • FITYMI • KISS • ED Recap Literal • Pretotyping • TDD • ATDD • WWAC • DoR & DoD 19
  • 20. the best code, is code never written @daniel_davis Resources • https://www.it-cisq.org/the-cost-of-poor-quality-software-in-the-us-a-2018- report/The-Cost-of-Poor-Quality-Software-in-the-US-2018-Report.pdf • https://www.artima.com/intv/simplest.html • https://insights.dice.com/2018/07/05/tech-pros-steal-code-good-idea-bad/ • https://www.pretotyping.org/uploads/1/4/0/9/14099067/ pretotype_it_2nd_pretotype_edition-2.pdf • https://github.com/northofnormal/ConferenceTalks/blob/master/ qualityvsquantity.pdf • https://docs.google.com/document/d/ 1A1sLe2R-9XhRpOiAZfKii2944PM5tUKS17EgaiGCnLE/export?format=pdf 20
  • 21. the best code, is code never written @daniel_davis Q & A 21
  • 22. the best code, is code never written @daniel_davis Now, go unto the world 
 & not write some code! 22
  • 23. the best code, is code never written @daniel_davis Thank you! Daniel Davis dan@elev8.services @daniel_davis linkedin.com/in/davisdaniel 23