YAGNI
Prinsiplar +1 06.08.2023 192

YAGNI tamoyili Wikipedia

Bu "You Ain't Gonna Need It" (Sizga kerak bo'lmaydi) so'zining qisqartmasi.

Har doim narsalarni sizga haqiqatan ham kerak bo'lganda amalga oshiring, hech qachon ularga muhtojligingizni oldindan bilganingizda.

(Ron Jeffries)  (XP hammuassisi va "O'rnatilgan ekstremal dasturlash" kitobining muallifi)

Ushbu Extreme Programming (XP) tamoyilini ishlab chiquvchilarga faqat bevosita talablar uchun zarur bo'lgan funksionallikni amalga oshirishi va keyinchalik kerak bo'lishi mumkin bo'lgan funksiyalarni amalga oshirish orqali kelajakni bashorat qilishga urinishlardan qochish kerakligini taklif qiladi.

Ushbu tamoyilga rioya qilish kodlar bazasida foydalanilmagan kod miqdorini kamaytirishi va hech qanday qiymat keltirmaydigan funksionallikka vaqt va kuch sarflanishiga yo'l qo'ymaslik kerak.

Shuningdek qarang: O`qishingiz kerak:  Exstrimal Dasturlash o`rnatilgan

YAGNI
Prinsiplar +1 06.08.2023 192

YAGNI on Wikipedia

This is an acronym for You Ain't Gonna Need It.

Always implement things when you actually need them, never when you just foresee that you need them.

(Ron Jeffries) (XP co-founder and author of the book "Extreme Programming Installed")

This Extreme Programming (XP) principle suggests developers should only implement functionality that is needed for the immediate requirements, and avoid attempts to predict the future by implementing functionality that might be needed later.

Adhering to this principle should reduce the amount of unused code in the codebase, and avoid time and effort being wasted on functionality that brings no value.

See also: Reading List: Extreme Programming Installed