It's OK to Cringe

Cringing at your old code is actually a good thing. It implies that you've learned something. It is something to celebrate.

A young boy with dark skin and curly hair covering his face with his hands.

I was talking to a LabVIEW Developer the other day. During a casual conversation, he mentioned he had recently looked back at some of his old code and it made him cringe. As soon as he said that, he acted kind of embarrassed, like he shouldn't have admitted to that to me. He acted like it was something to be ashamed of. I quickly corrected him.

Celebrate Learning

Cringing at your old code is actually a good thing. It means that knowing what you know now, you would do things differently. That implies that you've learned something since you wrote that code. That's not something to be ashamed of. That is something valuable. It is something to celebrate.