Add daily email for 2024-10-03

YAGNI
This commit is contained in:
Oliver Davies 2024-10-07 23:46:18 +01:00
parent fd7d951809
commit 9218ed0f16

View file

@ -0,0 +1,26 @@
---
title: YAGNI
date: 2024-10-03
permalink: daily/2024/10/03/yagni
tags:
- software-development
cta: ~
snippet: |
You aren't gonna need it.
---
I like to keep my code simple.
I only write the code I need to add the functionality I need, and I only include the current requirements.
There's no benefit to writing code for additional requirements that may never be needed or used.
I also think this when adding new modules or packages, or implementing a design pattern.
Do I really need this?
What value does it add?
Is there a simpler way to achieve the same thing?
If so, I'm happy to call YAGNI on it.