Do you ever have moments where you feel like your large amount of experience or knowledge in a subject actually hinders you from completing a task? (Rather than lack of experience stopping you from completing a task)

I am mainly looking at this from a CS perspective. I was talking to one of my friends the other day and he told me about something that he had programmed in the beginning of his programming days' that he thought was really cool, but that now (although much more experienced) he has trouble even reproducing something like it.

I have had similar experiences in a few things, although I would say that it is not true for the majority of things. But there are a few things that I look back upon and say, "Wow....how did I do that....and I had only 1 year of experience?"