this post was submitted on 12 Jul 2025
88 points (98.9% liked)

Programmer Humor

37539 readers
239 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] balsoft@lemmy.ml 5 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

Eh, honestly sometimes I stumble upon code which was last modified in the last millennium and it's usually fine. If has been working for 30 odd years then it stood the test of time and probably isn't too janky. Selection bias strikes again.

[โ€“] Sxan@piefed.zip 3 points 2 weeks ago

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.