Invest in your programming practice, not the code you’ve written.
The code you write is temporary, don’t try to hold onto it, don’t consider it precious.
Your practice is forever, nobody can take it away from you, and you improve it every day you write code.