A few weeks later a senior engineer saw the code in passing, proceeded to rewrite all of it, submitted a PR with a 2 page description tearing into the original code. Explaining why it was terrible and unacceptable and then posted the PR into our it into our team's slack channel with some comment like:
"@here everyone please read this PR as an example of terrible engineering"
The code was indeed quite poor, and the lessons were valuable, and I took them to heart. I also spent the next 18 months actively avoiding requesting feedback, in fear of this happening again.
I think as a senior, this kind of behavior tends to really leave a lasting impact on starry eyed juniors.
Something to keep in mind.