Medical How could I forget that I already built something?

  • Thread starter Thread starter Borg
  • Start date Start date
AI Thread Summary
A software developer recently revisited a file comparison program they created two and a half years ago while searching for code to address a bug in their current project. Despite having thought about writing such a program for years, they had completely forgotten about the existing solution. The developer noted that the program effectively identifies changed and removed files, which aligns with their current needs. They reflected on the nature of memory in programming, suggesting that frequent coding and idea generation can lead to forgetfulness regarding past projects. The discussion highlights the challenges programmers face in retaining knowledge of their own work amidst the constant flow of new ideas and projects.
Borg
Science Advisor
Gold Member
Messages
2,270
Reaction score
4,888
I'm working on a software project that has a bug that cropped up in the last 8 months. I had some time to kill this evening so I decided to write a program that would compare files between the old version and the new one. I've thought about writing a program like this for at least 7 or 8 years now.

So, I start looking through a directory where I keep all of my old programs for a piece of code that I wanted to use. While looking for that, I noticed a directory named File Comparer and, sure enough, I already wrote it two and a half years ago. I read through it, performed a few tests and it worked great for exactly what I wanted it for.

How could I not remember this? :blushing:
 
Biology news on Phys.org
I've head that geniuses are quite forgetful. :wink:
 
Evo said:
I've head that geniuses are quite forgetful. :wink:

OK, that made my day! :smile:
 
... you know.. diff has been around since 1974 =)
 
DavidSnider said:
... you know.. diff has been around since 1974 =)

I wanted something to examine all of the files in the project and get a list of which files have changed and also the ones that have been removed. Then I diff them. :smile:
 
If you have not used the file in 2 and 1/2 years, I'm sure you allotted those memory brain cells to another purpose.
 
maybe you did it really quick and never committed it to long-term memory
 
Proton Soup said:
maybe you did it really quick and never committed it to long-term memory

Probably. I looked at the date stamps on the files and it looks like I didn't spend more than a few hours on it. It's still strange how I have thought about using it since then and deciding that I didn't have enough time to build it. :rolleyes:
 
I think it's a matter of A) how many codes you've written and B) how many times you get an idea to write a code but then never follow through. The more instances of A) and B) that occur, the more easy it would be to never remove a particular A) from the B) group when you A)'d that particular B). I also think any practiced programmer has a high rate of A) and B).
 

Similar threads

Back
Top