Yeah. I’ve got a tool I wrote in Go 8 years ago, and use daily. I just went through the changelog and was surprised to find that I’ve made a minor change to it about once a year, almost every year. No refactorings, though; 80% of the code was written before 2018. I apparently have no issue dropping into some code I wrote years ago.
OTOH I have a library I maintain that I worked hard to minimize the LOC and dependencies on, for… reasons… and it’s a nightmare of introspection that probably requires more intelligence than I possess to easily comprehend. Thankfully, it’s only 1,745 lines in a single file, and the reflection is all in two methods so the unintelligible part is contained.
Yeah. I’ve got a tool I wrote in Go 8 years ago, and use daily. I just went through the changelog and was surprised to find that I’ve made a minor change to it about once a year, almost every year. No refactorings, though; 80% of the code was written before 2018. I apparently have no issue dropping into some code I wrote years ago.
OTOH I have a library I maintain that I worked hard to minimize the LOC and dependencies on, for… reasons… and it’s a nightmare of introspection that probably requires more intelligence than I possess to easily comprehend. Thankfully, it’s only 1,745 lines in a single file, and the reflection is all in two methods so the unintelligible part is contained.