If you want to stop spaghetti code, you’re better served investing in good documentation and developer discipline.

Nailed it.