Java Glossary : YAGNI

CMP home Java glossary home Menu no menu Last updated 2004-06-28 by Roedy Green ©1996-2004 Canadian Mind Products

Java definitions: 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

You are here : home : Java Glossary : Y words : YAGNI.

YAGNI
Extreme programming speak for You Aren't Going to Need It. XP promotes the idea that you do the simplest thing that works. You don't add additional capability to handle things that you might need in the future until you know that you do need it, because we are lousy at predicting the future and if we never need it we have wasted resources.

You can obviously take this notion to extreme. Some things you should routinely build in for the future especially when they would be awkward to add later. If you come back to complex code to make a minor modification later, there is a more chance you will introduce an error than if you provide the functionality at the start. Further you have to come up to speed again on how it all works before you can safely make your modification.


CMP logo
CMP_home
home
Canadian Mind Products CSS
HTML Checked!
ICRA ratings logo
mindprod.com IP:[24.87.56.253]
Your IP:[80.134.30.163]
You are visitor number 702.
Please send errors, omissions and suggestions
to improve this page to Roedy Green.
You can get a fresh copy of this page from: or possibly from your local J: drive mirror:
http://mindprod.com/jgloss/yagni.html J:\mindprod\jgloss\yagni.html