I do this with chess. I take positions from tournament games in which I made a correctable mistake (generally not positions in which there was just a lot of calculation to be done and I wasn&#x27;t up to the task) and add them as flashcards to my spaced repetition system.<p>It is true that software engineers often treat bugs as unfortunate but unavoidable noise in the system; when one pops up, you fix it and move on. But it&#x27;s really worth thinking them as an inherent part of the process of software development, one which you can improve and learn from, just like anything else.