There are many healthy models (new functions) that we can insert to our code like in this post https://news.ycombinator.com/item?id=18588727 or in this post https://fs.blog/mental-models/
But we all have some unhealthy models which sabotage us from reaching the goal that we desire. These unhealthy models (code) is usually implemented when we were a child. Back then, it was a way to cope with the situation, but now the world has changed and so have we, thus instead of helping, those models actually hurt us.There are 2 parts to this.
1. Identifying how we are sabotaging ourselves 2. Removing the bad code
I'm fairly confident that I can remove the bad code once I identify it but I often fail to find the bad code or have a firewall preventing me from reaching the bad code.
Is there a systematic way I can do this? How have you done it?