you are viewing a single comment's thread
view the rest of the comments
[–] 5 points 1 year ago

Cut the problem into tiny pieces, then group it back together with nice clean connections

Code in nice straight lines. Like good cable management - behaviors should flow from cause to effect, and as much as possible should flow through the main channels

Decide how you organize things, and stick to it. When you see code you don't remember writing, you should be able to say "if I were me, how would I do this?" and immediately know the correct answer

  • source