Marvin Humphrey wrote on 09/11/2011 02:46 PM: > To address the problem, first we need to detect whether each of the ancestor > classes is exposed via the Perl bindings before generating that link. Then > there are two possible approaches: > > 1) Generate the text but don't link. > 2) Throw an error. This will have the effect of forcing us to expose all > ancestors for every class we expose via the Perl bindings. > > I lean towards the more permissive option (#1, don't link). I think that it > ought to be the main Clownfish compiler enforcing inheritance, by imposing the > constraint that all ancestors of a public class must also be public. The > binding tools ought to be flexible so that the interface for a given host > language can be A) rolled out piecemeal and B) customized so that it is as > idiomatic as possible. >
+1 -- Peter Karman . http://peknet.com/ . [email protected]
