Re:“What if it changes?”
by zelphirkalt on Monday May 23, 2022 @03:55AM
(#31476339)
If I needed to guess: They probably referenced the protobufs directly, because there are always 2 and "You have to tell it which one!".
That makes it sound like the problem is more of a spaghetti mess than duplication.
But I think the advice to copy something when you need two versions is supposed to be applied to specific functions or blocks or types. Not entire files. Then it wouldn't have duplicated the geographical code.
It's also important to have a good answer to how you'll identify duplicated bugs. I'm not sure how to best handle that.