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

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.


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 do you run a PHP script from the command line?

How to eager load multiple levels of relationships in Eloquent?

How do Invokable Controllers work in Laravel?

Force trailing slash (redirect if no trailing slash exists) in .htaccess

What is an example of an object literal?

How to block access to certain referrers in Apache using .htaccess

How to get a route to directly show a view?

What is the difference between reference and primitive data types types in Javascript?

Set PHP config Variables (like ini_set) with .htaccess

What is the spaceship operator (<=>) in PHP?