
30 Dec
2004
30 Dec
'04
9:21 p.m.
* christopher diggins <cdiggins@videotron.ca> [2004-12-30 16:17]:
The BIL library, provides a mechanism for non-intrusive structural subtyping. In other words any object can be used polymorphically if it provides function signatures which match those of the interface type. The advantages are that it eliminates the overhead of virtual tables in the objects. Also dynamic function dispatch only occurs when it is needed (i.e. through an interface reference). Most importantly the BIL removes the requirement of inheritance for polymorphism.
Is the value of such as approach apparent or are more detailed examples warrranted?
Crystal clear. Very cool. Thank you. -- Alan Gutierrez - alan@engrm.com