by er_d0s · 4y ago · 0 comments
For individual systems I think a good inversion of control/dependency injection system can give you a good overview of the connections between components.
If I’m stepping into a giant ball of spaghetti code I generally set the debugger at line 1 and start stepping, and draw a lot of boxes and lines as I go… then throw those drawings away when I’m done. They’re really only helpful while you’re producing them (like taking notes as you read a textbook), hopefully in that situation you improve the code as you go so this approach isn’t as necessary!
No comments yet.