Re: anyone define port types?

2016-03-31 Thread Marko Rauhamaa
Jan Wedekind : > On Thu, 31 Mar 2016, Marko Rauhamaa wrote: >> (get-x) is only a fig leaf for (slot-ref). In general, no user of an >> object should think the object holds a piece of information >> called x. Instead, you should be interacting with the abstract object >> . > > Well, actually (get-

Re: anyone define port types?

2016-03-31 Thread Jan Wedekind
On Thu, 31 Mar 2016, Marko Rauhamaa wrote: Jan Wedekind : On Wed, 30 Mar 2016, Marko Rauhamaa wrote: GOOPS' has the worst possible object model: objects are seen as mere data records. The concept of a "slot" is an anathema to OOP. Ok, I have updated the example to use accessor functions ins

Re: anyone define port types?

2016-03-31 Thread Marko Rauhamaa
Barry Fishman : > On 2016-03-30 22:57:25 +0300, Marko Rauhamaa wrote: >> All you can serialize is information. Objects are living things we >> experience through interactions alone. > > Do we really want our computers to behave like organic black boxes? I'll say yes. > In Guile you can export, a

Re: anyone define port types?

2016-03-31 Thread Barry Fishman
On 2016-03-30 22:57:25 +0300, Marko Rauhamaa wrote: > Panicz Maciej Godek : > >> 2016-03-30 19:53 GMT+02:00 Marko Rauhamaa : >> The problem with closures is, among others, that they are >> non-serializable > > What is there to serialize in objects? How do you serialize a car? How > do you serializ