Remember that you’re being paid to deliver business value. The software you build should provide enough value to end-users that they are willing to pay for it.
Always keep the business context in mind and don’t get too lost in the technical details. More specifically, you want to optimise for quick iterations by keeping the codebase in good condition so that it’s easy and quick to make changes.
Optimise for change -> quick delivery & quick issue resolution -> happy users -> paying users -> all is good 💸