[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Proposal: Abstract types for OOC
Hallo!
> We could enforce this interpretation of abstract types by insisting that
> every type declared ABSTRACT has at least one method declared ABSTRACT. I
> would be prepared to add this to the specification. Can anyone think of any
> useful programming constructs that would be disallowed by this restriction?
The special abstract type object (ObjectDesc = RECORD END) would
perhaps somehow an abstract type (it does not implement anything and
serves only as a base type to inherit from) but has (perhaps) no
methods.
--
Gruß...
Tim.