Pandemic Journal, Day 493

I spent much of today working on code – first for the Shir Hadash High Holy Day Honors process, and then much of this evening helping with code I’d written for Toastmasters.

The High Holy Day Honors process work was actually pretty easy – and in the end, I feel pretty good that the person picking up the load while I’m away will be ok – he talked me out of making any code changes before I left, which was a very good idea, even if those changes would have made the code much cleaner.

The Toastmasters fixes were in some of the ugliest code I’ve written. The code has to parse an HTML page because Toastmasters HQ doesn’t provide any way to download data about what officers have attended training – and they changed the HTML page this year, after leaving it alone for three years. They simplified it substantially, but it still broke my code.

I got my successor on a Zoom call and we set to work – which meant I figured out what was going on and fixed the code while he listened to me think out loud. I made some improvements to my code (I created a class with meaningful names instead of using a list, for example), but it’s still ugly and fragile code, and I’m not sure it’s significantly more understandable than it was before. But it produces the report they need, and that’s something.

Oh, well; everything is working for now on both fronts, and I can go on vacation with a clean conscience.