Yin Yang Versus Singlism

Many strive for a "universal root" (BigIdea) in their pet ideal environment (see EverythingIsa). However, I sometimes speculate that a yin-yang type of relationship between two somewhat orthogonal ideas may be more powerful. It may be more difficult to convert from one to the other when such is needed (DiscontinuitySpike), but the flip side is a bit of specialization whereby each "sex" contributes better to certain kinds of tasks than others, and thus cover a wider ground more smoothly than one could get by force-fitting a single idea into all needs.

This issue came to me when discussing EverythingIsa table (singlism) versus FormulasPlusAttributes (yin-yang). Somebody asked why a single language based on relational has not been created the same way Smalltalk has done with "everything is objects". This begs the question: "why?" (I haven't ruled out the everything-is-a-table viewpoint yet, but am simply trying to scrutinize singlism well for now.)

Are there useful yin-yang paradigms or technologies that you can think of? Besides gender?

-- top


Somebody asked why a single language based on relational has not been created the same way Smalltalk has done with "everything is objects".

It depends what you mean by "based on relational". One could argue that SqlLanguage and TutorialDee are both based on the RelationalModel, or at least incorporate it at a fundamental level. In both cases, tables (or relation-valued variables, aka relvars, in TutorialDee) serve (roughly) the same purpose as container classes and/or collections in, say, Java or Smalltalk.

However, if you're suggesting that the relational model be a fundamental organizing principle, on the same order as Smalltalk's objects or functional programming's lambdas, then I'm not clear what such a language would look like. TheThirdManifesto probably goes further than any other work in driving the relational model down to a fundamental level, but a relation is, by definition, a structured aggregation of more primitive elements - values, types and labels. This implies the need for some lower-order organizing principle than relations. I have seen some experimental efforts that define virtual machine architectures around table structures, but I'm not sure these will ever be anything but curiosities.

That said, the simplicity and universality of relations and the composability of the relational algebra make the RelationalModel very potent; it makes an ideal yin for a variety of yangs.

-- DaveVoorhis


Yin and Yang is more a duality than an orthogonality, but dualities also compose well. In the sense that distinct orthogonal features appeal to me, I also have a preference for 'YinYangVersusSinglism' - EverythingIsa is not very interesting and forces your hand to a particular approach whether or not it is ideal for the problems being solved.

Some orthogonalities and dualities I use:


EditText of this page (last edited February 9, 2010) or FindPage with title or text search