I agree, but think that statement does a disservice to programming by treating it as a monolithic domain. It’s telling a mechanical engineer “mechanical things will never deprecate”. That’s true, but doesn’t help the ME whose career may have been built in, say, a fossil fuel power plant.
I have a feeling that anybody in physically based engineering will never lose use of his knowledge. You don't spend time using trendy inventions at the pace of computing. Many programmers fiddle with plumbing onto <framework-of-the-day> until they get a new position. Not a lot to remember beside social reflexes and 'best practices'.
The pace is certainly different but I’ve found most engineers lose those skills that aren’t directly relevant to their job at hand. Ask that power plant engineer to do fluid dynamics and they’d likely be lost. The physical engineering disciplines are often hyper-specialized as well
Sure you forget but if you come into a fluid dynamic problem, you know that the universe didn't move to a new paradigm, I assume it's a different feeling to know that you can revisit the knowledge instead of navigating a totally new structure.