Mixed results
In the late(ish) nineties I wrote some F77 code that I thought was reasonably well structured and commented. I knew it inside out and upside down. It was pretty well optimised - taking a few minutes per run on a decent unix system and a mere 20-30 minutes per run on the 486 laptop I used to travel with. A couple of years ago I came across a problem that needed a similar solution. Great thought I, I'll dig out that fortran code, pythonify it and put it in a Jupyter notebook for my colleagues to use - half a day max I reckoned. I managed to get it going*, but big chunks of it made no sense to me ('clever' intertwined loop structures were the main issue) so adapting it to another use went out the window.
My coding must have improved at some point though as at around the same time I was asked to extend some C code from a few years later, I looked at it and implemented the (reasonably extensive) extension to the functionality in less than an hour
*Out of interest, the python version ran in a couple of minutes on an M2 laptop, but the fortran version completed pretty much instantly on pressing the return key in the terminal. Easy to forget just how quick F77 is...