YAGNI : Java Glossary

YAGNI

Extreme programming speak for YAGNI (You Aren’t Going to Need It). Extreme Programming 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 homejump to top You can get the freshest copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/jgloss/yagni.html J:\mindprod\jgloss\yagni.html
logofeedback Please email your feedback for publication, letters to the editor, errors, omissions, typos, formatting errors, ambiguities, unclear wording, broken/redirected link reports, suggestions to improve this page or comments to Roedy Green : feedback email If you want your message kept confidential, not considered for posting, please explicitly specify that.
mindprod.com IP:[65.110.21.43]
view BlogYour face IP:[38.107.179.210]
You are visitor number 9,517.