Codeigniter 4 has been in the works since 2015. It took almost 3 years to have a basic framework working and 2 more to document everything so we can use it in production. This is very exciting news, since codeigniter still holds a place in me. It was PHP framework that I use the most and I still use version 3 at work.
Technical debt is just a fancy way of saying that something will bite you in the ass in the long term. However, in every project this is something very real that every Lead Developer has to deal with almost in a daily basis.
Here I'll try to describe on how to avoid it it, or at least identify it as soon as possible so you can plan ahead.
Once upon a time there was a rubber duck! No seriously. We are programmers, we solve problems, and every now and then, we come across problems that we never had to solve before. Once in a while we need help. Maybe we don't have the know how to solve it. Maybe we're just too close to the project to even see the real problem. Or maybe, just maybe, we just need someone to talk to, share some ideas and the problem will solve itself.
So we use rubber ducks to solve problems.