Humans have brains optimized for keeping track of complicated relationships between about 20 other people. For some time a significant percentage of our survival depended on negotiating group politics. Most of this consists of knowing: * What does X know about Y? * What is Y keeping secret from X? * What will happen if X asks for/takes Z from Y? * What will X do when it finds out Y knows about Z? * What is it like to be X? OO doesn't model how we think. It models social interactions within groups, which is one of our talents. Treating problems and solutions as groups of social agents fits our brains like hammers fit our hands. ''So those with AspergersSyndrome won't get OO?'' lol. Well, they certainly won't put it in terms of 'politics'. ---- Oh yes. The joy of OO programming versus procedural programming is the move away from complex ''logic''. Logic is really hard to do right, but in the procedural world, it's all you've got. And since the world of human experience that software has to fit into to be worth having is a very complicated place, procedural programming hard squared. In fact cubed, because logic is something we project onto the world, not an intrinsic feature of it. Whereas OO plugs into a suite of techniques we all already have by letting the (writers and users of the) software deal with our world of human experience via the software on something more like our own own terms. ''Refuted, or at least questioned, in links below.'' ---- I think one must first define "our" before this discussion can have meaning. Does "our" refer to the programmers of software or to the target users of software? My understanding of the purpose of OO is that it tries to represent the users' view of the world. One begins with discussions with the target users. The terms used by the users become classes with the same names. The programmers are then constrained to package methods within this framework. It may be individual stylistic issues as to whether this is a more natural approach for programmers, but the intent is to provide software that better matches the users' world. ''"Our" is defined as programmers. Users shouldn't be able to tell which paradigm was used to write software.'' [Discussion of GraphicalProgramming moved to that page.] ---- See OoDoesNotFitOurMentalAbilities for an opposing view. ---- See also: OoBetterModelsHumanThinkingDiscussion, PrologFitsOurMentalAbilities, RelationalAlgebraFitsOurMentalAbilities, OoIsAnthropomorphic ---- CategoryObjectOrientation