![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
"Bob Badour" <bbadour (AT) golden (DOT) net> wrote: SELF is a classless programming Language, claims to be object oriented http://www.wikipedia.org/wiki/Self_computer_language http://research.sun.com/self/language.html http://research.sun.com/research/sel...ial/index.html A lot of ideas about making a typeless Object-Oriented database system workable would be learned. i am on it. |
#12
| |||
| |||
|
|
In an attempt to throw the authorities off his trail, seunosewa (AT) inaira (DOT) com (Seun Osewa) transmitted: "Bob Badour" <bbadour (AT) golden (DOT) net> wrote: I did not mean to imply that Bob Badour mentioned Self. It turns out |
|
SELF is a classless programming Language, claims to be object oriented [snip] SELF isn't "typeless;" the only language I recall that _claimed_ to be such was BCPL (predecessor to B and C), and even there, that wasn't honestly typeless; it was instead pretty "loose" about them. Perl and TCL both have a history of pretending "typelessness;" their scalars can be coerced into pretending that they are strings or numbers depending on what operation you use on them. Mind you, since they have aggregate 'types' it's again not honest to call them "typeless;" they are more 'schizophrenic about types.' (Which is sometimes a big pain.) What could be of _some_ merit would be to have a system that is 'type agnostic;' that is, you have containers/slots in which you can put any type. That's sort of what Self does; that's _certainly_ characteristic of the Lisp family. The latter is strongly typed, but common data structures allow plunking in data of any type, in contrast with (say) ML. |
|
Whether or not this is any good for databases is another question. The _problem_ with being open to a "loose" set of types is that there then needs to be code to interpret the different types. |
#13
| |||
| |||
|
|
I would like to know how you generate those introductory phrases attached to your quotations of other people! |
#14
| ||||||||
| ||||||||
|
|
Based on my own observations, I would like to define a class as: "A set of Objects/Entities percieved to have certain similar properties." What if an object could be a member of any arbitrary set of classes? What if this mapping of object to class was totally dynamic? |
|
CREATE OBJECT USING SeunRoundShape (20, 20); CREATE OBJECT USING SeunRoundShape (20, 40); CREATE OBJECT USING SeunRoundShape (40, 20); CREATE OBJECT USING SeunRoundShape (40, 40); OK |
|
SELECT Radius, Area FROM EACH Circle; Radius Area |
|
SELECT Radius01, Radius02, Area FROM EACH Ellipse; Radius01 Radius02 Area |
|
SELECT Radius01, Radius02, Area FROM EACH Ellipse NOT Circle Radius01 Radius02 Area |
|
SELECT Radius01, Radius02 FROM EACH Circle; Error: Undefined Input Slot Radius01 for Class Circle; |
|
SELECT Name, Head->Name FROM EACH DEPARTMENT |
|
SELECT Name, Dept->Name, Dept->Name->Head FROM EACH EMPLOYEE |
#15
| |||
| |||
|
#16
| |||
| |||
|
|
What if an object could be a member of any arbitrary set of classes? What if this mapping of object to class was totally dynamic? |
#17
| |||
| |||
|
|
In message <ba87a3cf.0310091820.50180857 (AT) posting (DOT) google.com>, Seun Osewa seunosewa (AT) inaira (DOT) com> writes What if an object could be a member of any arbitrary set of classes? What if this mapping of object to class was totally dynamic? I asked about such a system a while ago, the concepts you are looking for are multiple-inheritance and dynamic reclassification. I was pointed in the direction of Mumps. |
#18
| |||
| |||
|
|
In message <ba87a3cf.0310091820.50180857 (AT) posting (DOT) google.com>, Seun Osewa seunosewa (AT) inaira (DOT) com> writes What if an object could be a member of any arbitrary set of classes? What if this mapping of object to class was totally dynamic? I asked about such a system a while ago, the concepts you are looking for are multiple-inheritance and dynamic reclassification. I was pointed in the direction of Mumps. |
#19
| |||
| |||
|
| Bernard Peek wrote: In message <ba87a3cf.0310091820.50180857 (AT) posting (DOT) google.com>, Seun Osewa seunosewa (AT) inaira (DOT) com> writes What if an object could be a member of any arbitrary set of classes? What if this mapping of object to class was totally dynamic? I asked about such a system a while ago, the concepts you are looking for are multiple-inheritance and dynamic reclassification. I was pointed in the direction of Mumps. Sadly enough, Mumps does not support inheritance and also nothing you call dynamic reclassification. Mumps is a strictly PROCEDURAL language. I've used it for some years (> 5 to be specific). There are no classes in Mumps. There is even no schema. All there is (OK - most notable) is a persistent B* tree that allows for index entries that are strings, a strong support of string function and some ways to dynamically interpret strings/variables as code. Objects and Mumps are two different worlds ... Just my 2 cents Jürgen |
![]() |
| Thread Tools | |
| Display Modes | |
| |