Looking at some old code as reference for what I'm writing today and I'm running into some instances of, "why would I have done it that way?" Will go for the obviously more efficient approach this time around. Pretty sure I was just rushing through a fairly boring chunk of code and as long as it worked I just moved on to the next thing.
Didn't completely finish the code I was working on today, but I got a good portion of it done and what I do have seems to be working correctly. Might pick it back up after dinner while there's a chance the design will still be in my head. I'm continuing the trend of the new code being simpler than what I wrote the last time I solved this problem so still feeling pretty good about this rewrite.
Author of Typica software for coffee roasters.