Yes, that matters because code is a machine that needs to be maintained.
In contrast, a proof is merely a fact about the universe. The ultimate result can inform our reasoning regardless of how neat or messy the documentation demonstrating it to be correct might be.
https://en.wikipedia.org/wiki/Curry–Howard_correspondence