2024-01-03 20:00:00 +00:00
|
|
|
---
|
|
|
|
title: >
|
2024-09-08 22:09:54 +00:00
|
|
|
Tomorrow is easier if today's code is simpler
|
2024-01-03 20:00:00 +00:00
|
|
|
pubDate: 2023-07-23
|
|
|
|
permalink: >-
|
2024-12-19 20:26:33 +00:00
|
|
|
daily/2023/07/23/tomorrow-is-easier-if-todays-code-is-simpler
|
2024-01-03 20:00:00 +00:00
|
|
|
tags: []
|
|
|
|
---
|
|
|
|
|
|
|
|
If you write simple code, it is quicker and easier to read, extend and change.
|
|
|
|
|
|
|
|
If you need to work on that code in the future - either tomorrow or in months or years - it will be easier to add the new feature or fix the bug.
|
|
|
|
|
|
|
|
It will also be easier for others who didn't write it, so they must understand what it does (or doesn't do) before making changes.
|
|
|
|
|
|
|
|
It will also likely be easier to debug with tools like Xdebug and PHPStan or upgrade with tools like Rector.
|