When writing code, don’t just commit and move on.
Play around with it, refactor, try other approaches to see what works best.
Often you find a much better solution in a later attempt.
Conversation
Replying to
This is a bit like in design and other creative fields where it's often good to push yourself to find a number alternative approaches beyond your initial idea. Often you end up coming up with something better, and if not you can go back to your original with better understanding.

