In theory, it would be no different. But I could take the time to provide examples of how I would it. But it’s truly subjective, the end goal is, can you mentally follow your code? If you cannot without really trying, then you’ve failed.
When going back to code that is really old. It shouldn’t be impossible to understand. Which is the case if you don’t prepare. You should just have to take the time to step through all of your code. Most of the time, people don’t have the patient to collapse your code into smaller reusable code. Such as myself once upon a time. But, when you take the time to break everything into smaller segments and reuse them as necessary. You actually find that code is generally much easier to recall.