Reply to thread

I am not a full time programmer, more of a mix of development, devops & sysadmin work. I often have to switch between 3-4 languages. I am at a position where I can't even remember the syntax of a function. Sometimes, I may not have touched a language for several months, then suddenly would need to make some changes. So, I have started maintaining code snippets in all the languages I work with. Its nothing fancy, just basic class/function/loop syntax, simple design/async/retry patterns etc. I use it as a quick refresher so that I don't have to Google or look at the old code to figure out the syntax.


I maintain the code snippets in markdown files. I use Obsidian app (Windows and Android) for viewing the markdown files.