Small moves to Moto Inheretance
David Hakim <dhakim-Gkm/TONP9n1Wk0Htik3J/[email protected]> Wed, 26 Feb 2003 10:39:03 -0500
| Newsgroups | gmane.comp.lang.moto.devel |
|---|---|
| Message-ID | <[email protected]> |
So it occurs to me that one reasonable sized step that could be taken on the road to implementing inheritance in moto would be to give all moto objects a class identifier field (could just be a String initially) and then add the intelligence in motoi and motoc to identify and throw exceptions for bad casts at runtime. This would fix a bad potential segfault in moto right now and give us further insight into what's needed to implement inheritance fully. -Dave