I think there is "Forgetfulness that comes with Programming".
When you program you are constantly doing problem-solving. Having to tackle new problems every day pushes the memory of the solutions you came up in previous days out of your brain. There is just not enough room in the brain.
But writing down the code helps to rediscover your earlier discoveries if you take time to document your code. Still it may be difficult to figure out where such old code and documentation is stored.