The YAGNI Principle
Upcoming SlideShare
Loading in...5
×
 

The YAGNI Principle

on

  • 1,794 views

Principle to avoid speculative planning & programming. Thinking, knowing, feeling the business pulse.

Principle to avoid speculative planning & programming. Thinking, knowing, feeling the business pulse.

Statistics

Views

Total Views
1,794
Views on SlideShare
1,373
Embed Views
421

Actions

Likes
0
Downloads
7
Comments
0

4 Embeds 421

http://www.wat-betekent.nl 402
http://krsteski.de 15
http://www.google.nl 3
http://www.wat-betekent.be 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

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

The YAGNI Principle The YAGNI Principle Presentation Transcript

  • YAGNIPrinciple to avoid speculative planning & programming
  • About me • Gjero Krsteski • Software Developer • QuestBack GmbH, Germany • Contributor: ZF1, Zurmo, phlexible • father + trainer + musicianGjero Krsteski The YAGNI principle 2
  • What are your expectations? • Reasons to practise it • How and when to use YAGNI • How does it work in realityGjero Krsteski The YAGNI principle 3
  • Abbreviation for… • You Ain’t Gonna Need It • Keep it simple, stupid! = KISS • Always implement things when you actually need them, never when you just foresee that you need them.Gjero Krsteski The YAGNI principle 4
  • The Ideas Behind YAGNI Granularity Balance YAGNIGjero Krsteski The YAGNI principle 5
  • Granularity Don’t use bazooka to clobber a fly!Gjero Krsteski The YAGNI principle 6
  • Balance • can anticipate which way the project is likely to go in the near future? • might make sense to build particular things now to cater for this? • may have capacity now but will not necessarily have it later?Gjero Krsteski The YAGNI principle 7
  • Reasons to practise it • You save time • Your code is more testable and maintainable • Your code is cleaner and more robustGjero Krsteski The YAGNI principle 8
  • Keep this principle in mind No! • Implement a pattern? Why? • Use a utility library? What for!? • Let us build more automation around our deployment process? Bah!!!Gjero Krsteski The YAGNI principle 9
  • What should I do? • think first before you move (Bruce Lee) • Whats the cost of the investment? • What is your time horizon? • Opportunity cost?Gjero Krsteski The YAGNI principle 10
  • Ignorance is bliss Who is Who stupid? do that? Who Who designed manages that box? the space?Gjero Krsteski The YAGNI principle 11
  • Secret twenty percent 20% of the effort is the 20% 80% of the results! => do the „right“ 20% 80%Gjero Krsteski The YAGNI principle 12
  • literatureGjero Krsteski The YAGNI principle 13
  • Gjero Krsteski The YAGNI principle 14
  • THANK YOU FOR YOUR ATTENTION Have fun finding the “right” 20%Gjero Krsteski The YAGNI principle 15