You said it yourself, though. You were more productive by LOC but you weren't more effective. There's a reason we don't start out as senior devs and regress into juniors as we age. The more we know, the more we know about the things we don't know.
At the same time, don't let that experience weigh you down. Try to embrace breaking out of your comfort zone like you did when you were young.
At the same time, don't let that experience weigh you down. Try to embrace breaking out of your comfort zone like you did when you were young.