Today I wanted to start a little debate about reusable code. As a (web) developer and more specifically a data analyst, I always find myself searching for old code that I wrote, to copy 'n' past it in my newest project.
I was thinking about making a library just for myself but most of the time, the context changed (even slightly) with the years, and it's quite hard sometimes to reimplement the copied method.
So, what are your little tricks about it? Do you build an entire API that you reuse all the time? Or maybe you have a use huge list of method references wrote in Markdown on an old HDD?