1. 程式人生 > >Ask HN: How to not forget your own code?

Ask HN: How to not forget your own code?

I'll jump right in. I'm a developer with 5+ years' experience with programming. One of the biggest challenges I face is I forget my code very quickly. This sometimes even applies to the logic used in the code. In the heat of moment while coding, I sort of enter a trance and come up with great logic/algorithms. However, I will forget about it after 2 weeks. After developing huge modules, I forget details about the libraries used. I try documenting/writing comments for other developers. I also don't perform quite well in technical interviews when I'm asked about my prior work experience and side projects. It's quite embarrassing to forgetting stuff in which I have put heart and soul while developing. The best way to state my problem is that I am more of a RAM than a Hard Drive. Any of you face this problem? Or any idea how to overcome this problem?