Yagni: Difference between revisions
Jump to navigation
Jump to search
Created page with "=YAGNI (You Ain’t Gonna Need It)= To be completed" |
|||
Line 1: | Line 1: | ||
=YAGNI (You Ain’t Gonna Need It)= | =YAGNI (You Ain’t Gonna Need It)= | ||
Maybe not as involved at [[SOLID]]. Here is a small overview.<br> | |||
<br> | |||
YAGNI, You Ain’t Gonna Need It, or You Aren’t Going to Need It is a principle from Extreme Programming (and somehow related with Lean Thinking) that states that a programmer should not add functionality until it is completely necessary: | |||
<br> | |||
[[File:YNGNI.png| 600px]] | |||
<br> | |||
*Cost of building — All the effort spent on analyzing, programming, and testing a feature. | |||
*Cost of delay — The lost opportunity to build and release another feature now. | |||
8Cost of carry — The complexity added by the feature to the code, making the software harder to modify and debug. | |||
*Cost of repair — The effort spent on modifying a feature because it is not exactly what you need now. |
Revision as of 07:17, 25 September 2021
YAGNI (You Ain’t Gonna Need It)
Maybe not as involved at SOLID. Here is a small overview.
YAGNI, You Ain’t Gonna Need It, or You Aren’t Going to Need It is a principle from Extreme Programming (and somehow related with Lean Thinking) that states that a programmer should not add functionality until it is completely necessary:
- Cost of building — All the effort spent on analyzing, programming, and testing a feature.
- Cost of delay — The lost opportunity to build and release another feature now.
8Cost of carry — The complexity added by the feature to the code, making the software harder to modify and debug.
- Cost of repair — The effort spent on modifying a feature because it is not exactly what you need now.