When working on #1031, #1032, #1033, this function happened to catch my eye as another that could use a refactor. There's going to be a lot of these around the codebase, I'll tackle them as I spot them. These PRs can also serve as reference for others that spot these changes.
Refactors like this are good to do every once in a while :-)
When working on #1031, #1032, #1033, this function happened to catch my eye as another that could use a refactor. There's going to be a lot of these around the codebase, I'll tackle them as I spot them. These PRs can also serve as reference for others that spot these changes.
Refactors like this are good to do every once in a while :-)