Programming is the Definition of ADHD

So I was working on my daily job yesterday. I decided our PDF Generation code needs refactoring (a single Laravel service class) Half way through the refactoring I realized we are using a deprecated library so I decided to upgrade the whole system to start using s more modern pdf Generation system Half an hour of coding later I realized it's probably better, before I do all the work, pdf Generation should probably be handled by a microservice You can't do all that without the existing pdf templates. They need to move to the Microservice too. I might as well refactor these to make things easier PDF templates with blade files is so tedious to work with. I can't test what I am doing. We need a preview function but you can't have that in an API. Let's move this to the CMS I might as develop a PDF management tool in CMS with preview function I need seeders, factories, migrations Templates need to be translated into 4 languages but user might not know what language keys exist I need a template editor with variables and language keys auto fill. You can't be a good programmer and claim you don't have ADHD...

May 27, 2025 - 10:10
 0
Programming is the Definition of ADHD

So I was working on my daily job yesterday.

  1. I decided our PDF Generation code needs refactoring (a single Laravel service class)

  2. Half way through the refactoring I realized we are using a deprecated library so I decided to upgrade the whole system to start using s more modern pdf Generation system

  3. Half an hour of coding later I realized it's probably better, before I do all the work, pdf Generation should probably be handled by a microservice

  4. You can't do all that without the existing pdf templates. They need to move to the Microservice too.

  5. I might as well refactor these to make things easier

  6. PDF templates with blade files is so tedious to work with. I can't test what I am doing. We need a preview function but you can't have that in an API. Let's move this to the CMS

  7. I might as develop a PDF management tool in CMS with preview function

  8. I need seeders, factories, migrations

  9. Templates need to be translated into 4 languages but user might not know what language keys exist

  10. I need a template editor with variables and language keys auto fill.

You can't be a good programmer and claim you don't have ADHD...