The code I’m still ashamed of is an excellent read, reminding us of our responsibility as software developers.
It also reminded me of an experience we had with Bread & Pepper, the web agency we ran from 2009-2013. A government agency approached us to build an iPhone app where you could overlay your face on Einstein. We could have used the money but decided to be frank and tell them that the idea was ridiculous and a waste of public funds.
After a few weeks, we received the response that we were the only ones who told them the truth and picked us to continue the conversation on how to achieve their goals. We got rewarded for our honesty that day.
I tend to pay attention to the feeling of shame, its trying to tell me that I did something against my morals.
Reminder that shame is a strong indicator that you messed up. Be morally strong and avoid that feeling of shame.