Yes. My “worst” code was when I was mid-level. Too clever, showing off what I learned.
Music was my first career, and there was something that really stuck with me while studying music theory- learn as much as you can, and then don’t think about any of it when you go to compose.