Talk:Object orgy
From Wikipedia, the free encyclopedia
This page was useful to me; please do not delete it. Thanks, CarlosFlys
[edit] Merge to spaghetti code
This article is just describing one language community's term for a particular kind of spaghetti code. It seems to me that it should be merged there. --FOo (talk) 16:33, 8 December 2007 (UTC)
- It doesn't sound like spaghetti code to me: that is hard to read because of arbitrary jumps, this is error-prone because access is unrestricted. Okay, they have some similarities, but I'm hard put to say exactly what. Spaghetti does not take advantage of the (once new) discipline of structured programming, orgy works around the discipline of encapsulation, probably because the design is not well thought out. If someone can formulate it, add a link mentioning the relationship. PJTraill (talk) 22:28, 26 January 2008 (UTC)
- It is also not clear whether an object orgy is present as soon as objects are insufficiently encapsulated, or not until other objects take extensive advantage of this. I have extended and structured the article, but I realise I have assumed the former definition. Another difference seems to be that spaghetti code usually refers to the flow of control in non-OO languages not enforcing structured programming. PJTraill (talk) 00:37, 27 January 2008 (UTC)
- Not at all the same as spagetti code. "Spagetti code" describes the structure (or lack thereof) of a program. "Object orgy" describes the behaviour and interactions between objects.--84.114.158.113 (talk) 20:47, 4 May 2008 (UTC)