YAGNI
"Nem lesz szükséged rá", "You aren't gonna need it"[1][2] (YAGNI)[3] az extrém programozás (XP) alapelve, amely szerint, egy programozónak nem kell funkciókat készíteni amíg azok nincsenek szükségesnek ítélve.[4] Az XP társ-alapítója, Ron Jeffries írta: "Mindig implementáld a dolgokat, amikre ténylegesen szükséged van, de soha amikről csak sejted, hogy szükséged lesz rájuk."[5] A kifejezés egyéb formái között szerepel a következő: "Nem lesz szükséged rá" [6][7] és a "Nem fog kelleni neked".[8]
Összefüggés
A YAGNI az XP gyakorlatának egyik alapelve, amely szerint "Csináld a legegyszerűbb dolgot amit csak tudsz" (DTSTTCPW, do the simplest thing that could possibly work).[2][3] Számos más gyakorlattal kombinálva, például folyamatos refaktorálással, folyamatos automatizált egységteszttel és folyamatos integrálással kell használni. Folyamatos refaktorálás nélkül felhasználva rendezetlen kódot és hatalmas átdolgozást eredményezhet. A YAGNI támogató gyakorlattól való függősége az XP eredeti meghatározásának része.
Lásd még
Források
- ↑ Extreme Programming Installed, Ronald E. Jeffries, Ann Anderson, Chet Hendrickson, 2001, 265 pages, p. 190, webpage: Books-Google-dIsC, quote: "YAGNI: 'You Aren't Gonna Need It.' This slogan, one of XP's most famous..., reminds us always to work on the story we have, not something we think we're going to need."
- ↑ a b Extreme Programming examined, Giancarlo Succi, Michele Marchesi, 2001, 569 pages, webpage: Books-Google-VSCh, quote: "XP says 'do the simplest thing that could possibly work ' because 'you aren't gonna need it'."
- ↑ a b Object-oriented & classical software engineering, Stephen R. Schach, 2007, 618 pages, p., webpage: Book-Google-hWwh, quote: "Two acronyms now associated with extreme programming are YAGNI (you aren't gonna need it) and DTSTTCPW (do the simplest thing that could possibly work)."
- ↑ Extreme Programming and Agile Methods – XP/Agile Universe 2004: 4th Conference on Extreme Programming and Agile Methods, Lecture Notes in Computer Science. Berlin: Springer, 121. o. (2004). ISBN 3-540-22839-X
- ↑ Ron Jeffries: You're NOT gonna need it!, 1998. április 4. (Hozzáférés: 2007. november 7.)
- ↑ Martin Fowler; Kent Beck (8 July 1999). Refactoring: Improving the Design of Existing Code. Addison-Wesley Professional, 431 pages, p. 68, webpage: BGoogle-1M. ISBN 978-0201485677. Quote: "you aren't going to need it".
- ↑ Mary Poppendieck; Tom Poppendieck (2003). Lean Software Development: An Agile Toolkit, p.59, webpage: BGoogle-hQ. Quote: "Kent Beck, Extreme Programming Explained, Chapter 17, uses the acronym YAGNI (You Aren't Going to Need It) for this practice and explains its rationale."
- ↑ Russ Olsen (2007). Design Patterns in Ruby, p.13, webpage: [1]. ISBN 9780321490452. Quote: "This design principle comes out of the Extreme Programming world and is elegantly summed up by the phrase You Ain't Gonna Need It (YAGNI for short)."
Fordítás
- Ez a szócikk részben vagy egészben a You aren't gonna need it című angol Wikipédia-szócikk ezen változatának fordításán alapul. Az eredeti cikk szerkesztőit annak laptörténete sorolja fel. Ez a jelzés csupán a megfogalmazás eredetét és a szerzői jogokat jelzi, nem szolgál a cikkben szereplő információk forrásmegjelöléseként.