Problem: I need to fix a bug


Problem:
I need to fix a bug. But, the code is so hard to understand that I don't know how to fix it.

Solution:
1. Understand what the feature is supposed to do.
2. Ask: "How would I build this?"

Envisioning a simple solution often helps me see a path forward.

View original on X