4 ms·
even with code I write myself, I can't remember the line by line implementation on the entire code base. To be honest I often forget implementation details on
by dsugarman 12y ago
even with code I write myself, I can't remember the line by line implementation on the entire code base. To be honest I often forget implementation details on code I wrote last week.
- eric_h 12y agoDitto. When a coworker asks me about implementation details of some code a wrote just a few weeks ago, my first answer is always "I haven't a fucking clue". Then I scan the code in question and it all comes rushing back.
- eric_h 12y agoI should add that the extent to "it all comes rushing back" is directly and inversely correlated with how long ago I wrote it, and positively correlated with how interesting/difficult the problem was to solve at the time. Also, almost every time I go back to review code I wrote more than a year ago, my first reaction is "jesus, that's a stupid pattern/implementation. Why did I do it that way?". I've been a professional developer for about 12 years now and I suspect that will never change.
- quicklyfrozen 12y agoIt won't. And sometimes you'll start to change it, hit a wall, and then realize "oh that's why I did it that way."