But all that updating had me wondering if there was a better way. Is there a better way to keep your code more maintainable and "future-proof"? My best guess would be that no - it's impossible to write code that is completely future-proof because new things will always be evolving. It's not to say that you can't write the absolute best program right now and it won't be useful at all in a few years. Because it totally should be. However there will definitely be something you can add or change within a few years. That's just the nature of the beast.
So from now on I suppose I'll try to write all my code as clean and as "future-proof" as I can make it - all while knowing that someday, I'll be back to clean it up a bit more. Or add something shiny and new.