How many times have you rewritten code that you already had saved somewhere?

by•

Six years of saving "useful code snippets" in a personal repository. Thousands of lines of clever logic. Then I spent an hour rewriting a function I knew I'd solved years ago, simply because searching my graveyard took longer than typing it fresh. The archiving had become a security blanket against forgetting.

The library wasn't bad. I was collecting solutions instead of packaging them into reusable packages.

For those who maintain personal code or template libraries, was it the folder structure's fault or the lack of searchability? And what logic or function have you written from scratch multiple times despite having it saved somewhere?

1 view

Add a comment

Replies

Be the first to reply

Have a question or a thought to share? Add a comment above to start the conversation.