Quantcast
Channel: correspondence Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 13

Created Issue: Interfaces [5678]

$
0
0
Like a fact, an interface can define predecessors, fields, queries, and predicates. Unlike a fact, all members (including predecessors and fields) are abstract. A fact implementing an interface must declare all members, or be abstract.

Interfaces exist to allow multiple inheritance. I'm not sure that this is necessary. I haven't found a model that requires it. Try to find an alternative that allows multiple inheritance of facts without violating the single-inheritance rule of the host language. Perhaps abstract facts implicitly define an interface in the host language.

Viewing all articles
Browse latest Browse all 13

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>