What is YAGNI?

General Webdev and Programming Stuff: What is YAGNI?

YAGNI is a programming principle that says that you should not add functionality until deemed necessary. It stands for 'You aren't gonna need it'.

A related phrase is DTSTTCPW - 'do the simplest thing that could possibly work'.

webdevetc profile pic
webdevetc

I am a 29 year old backend web developer from London, mostly focusing on PHP and Laravel lately. This (webdevetc.com) is my blog where I write about some web development topics (PHP, Laravel, Javascript, and some server stuff). contact me here.



More...


Comments and discussion about What is YAGNI?

Found this interesting? Maybe you want to read some more in this series?

Or see other topics in the General Webdev and Programming Stuff language

Or see other languages/frameworks:
PHP Laravel Composer Apache CentOS and Linux Stuff WordPress General Webdev and Programming Stuff JavaScript
Or see random questions

How to check if a string contains a certain substring?

How to set up an alias to map one directory to another destination

How to force non www in htaccess

How to hide directory listing in .htaccess?

How to get the first row that matches some where queries, or create it if it doesn't exist (in Laravel's Eloquent)?

Set PHP config Variables (like ini_set) with .htaccess

How do you access the php://input stream?

How to add the CSRF (Cross-site request forgery) token in Laravel?

How to order a Laravel hasMany relationship?

How to add and remove items to an array in JS?