![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Any thoughts, ideas, references - I'd like to hear them. |
#3
| |||
| |||
|
|
On Mar 8, 5:14*am, Nilone <rea... (AT) gmail (DOT) com> wrote: Any thoughts, ideas, references - I'd like to hear them. I've seen a lot of movement towards structured representations of programs (examples can be provided on request), but no proposals to use a relational structure. *The projects that are getting anywhere seem to preserve a traditional text-based editing option. I am generally in favor of relational everything, but I would note that traditionally program text has been consistently hierarchical in structure. *Things that can safely stay hierarchical may be things that don't need relational representation. The relational notion that records have no set physical order, i.e. that order is not important to locating a record, may be another area where there is not a strong fit to programming - where the sequence of commands has traditionally been so important. |
#4
| |||
| |||
|
|
Any thoughts, ideas, references - I'd like to hear them. |
#5
| |||
| |||
|
|
On Mar 8, 1:14 pm, Nilone <rea... (AT) gmail (DOT) com> wrote: Any thoughts, ideas, references - I'd like to hear them. (First, sorry about my latest flood, it's been a while since I last read the group.) I've been thinking about this a lot, originally because of the dreaded "object-relational mismatch". What is it precisely that causes it? And I think I have at least a partial answer. The control and program flow, record at a time orientation of OO makes for irregular access across data types, whereas relational is all about controlled, breadth first structuring. |
|
The temporally linear control flow and the presence of uncontrolled side effects on individual records/objects is also very different from the set oriented, transaction view of the DB community. |
#6
| |||
| |||
|
|
And I think I have at least a partial answer. The control and program flow, record at a time orientation of OO makes for irregular access across data types, whereas relational is all about controlled, breadth first structuring. I disagree. It is an algebraic structuring that biases neither toward breadth nor toward depth. |
|
The temporally linear control flow and the presence of uncontrolled side effects on individual records/objects is also very different from the set oriented, transaction view of the DB community. What do you make of Date, Darwen and Lorentzos? |
#7
| |||
| |||
|
|
Before you jump in, let me outline my idea about how it should be done as well; no point in judging without counterpoint, you know... To me the RM is about axiomatic semantics, as opposed to intuitive ones (the latter have their value, they belong to the third level of the ANSI model, the conceptual one), so you have to be able to perform as a mathematician when developing the theory further. That means speaking about the theory purely based on the axioms/properties it follows. And so complex objects could in theory be admitted into the model...when they *behave* as though they were atomic values when referred to as such. ... |
#8
| |||
| |||
|
|
I've been thinking about this a lot, originally because of the dreaded "object-relational mismatch". What is it precisely that causes it? |
#9
| |||
| |||
|
|
On Apr 8, 6:18*pm, Sampo Syreeni <de... (AT) iki (DOT) fi> wrote: I've been thinking about this a lot, originally because of the dreaded "object-relational mismatch". What is it precisely that causes it? I found a lot of value in the work of William Cook and Bart Jacobs, the following papers in particular: On understanding data abstraction, revisited (William R. Cook, 2009) |
#10
| |||
| |||
|
|
On Apr 8, 3:12*pm, Nilone <rea... (AT) gmail (DOT) com> wrote: On Apr 8, 6:18*pm, Sampo Syreeni <de... (AT) iki (DOT) fi> wrote: I've been thinking about this a lot, originally because of the dreaded "object-relational mismatch". What is it precisely that causes it? I found a lot of value in the work of William Cook and Bart Jacobs, the following papers in particular: On understanding data abstraction, revisited (William R. Cook, 2009) Everybody on this group knows that among all other collections sets are special. Therefore the choice of a set for an object in W.Cook's latest paper is not very convincing. When comparing abstract data types and objects William interprets objects as characteristic function. OK, characteristic functions are defined on sets, this is why the choice of a set as an example is suspect. What is interpretation for other kinds of objects, e.g. free monoids (aka strings of characters), relations, etc? Or, maybe, objects always assume set structure so that instead of monoids we study semirings (sets of strings), relations as sets of tuples, and so on? |
![]() |
| Thread Tools | |
| Display Modes | |
| |