This was started long before I had a good handle on type safety in Rust, and a way to really utilize the type system. I've definitely learned a lot since then, and I know that there are opportunities to improve pretty much everywhere you look in the codebase. So I'm not even expecting to have a particularly complete report. I think we can, even just collecting a few handfuls of places that could use better typing, would lead to a lot better codebase.
So we are determining what types we would like to transition to, and why. We should be very mindful to try to keep notes of our decisions anywhere they might be even remotely generalizable. Most, if not all, of these decisions are going to come from fairly standard concerns, and it would be nice to have some written record of how we addressed these concerns the previous time.
This was started long before I had a good handle on type safety in Rust, and a way to really utilize the type system. I've definitely learned a lot since then, and I know that there are opportunities to improve pretty much everywhere you look in the codebase. So I'm not even expecting to have a particularly complete report. I think we can, even just collecting a few handfuls of places that could use better typing, would lead to a lot better codebase.
So we are determining what types we would like to transition to, and why. We should be very mindful to try to keep notes of our decisions anywhere they might be even remotely generalizable. Most, if not all, of these decisions are going to come from fairly standard concerns, and it would be nice to have some written record of how we addressed these concerns the previous time.