Idk if most software developers know this is what they should be doing and ignore it completely or if they just don’t know.
There are so, so many reasons to do this.
But I don’t think this really happens very often in the real world because it’s not the shortest line from A to B.