3 ms·
Object Incest (2011)
- bell-cot 2y agoAs noted, using the term "incest" to describe this situation is, ah, problematic. At least in an era where web search is a big thing, and the language used at work needs to be family-friendly. Vague memory is that I've heard the phrase "Siamese objects" used to describe this situation, or similar ones.
- compressedgas 2y agoI'd call it: Mutual dependency on implementation rather than interface. Use of C++'s friend is worse: https://en.cppreference.com/w/cpp/language/friend https://en.cppreference.com/w/cpp/language/friend