Re: inheritance bug?
Isaac Gouy <[email protected]>
| Newsgroups | gmane.comp.lang.nice.general |
|---|---|
| Message-ID | <[email protected]> |
> >What about doing #2 but allowing an optional override keyword if you > >want the compiler to check your spelling? > > > This sounds like a reasonable compromise. Seems like a compiler switch to change the warning level, not language syntax. One motivation for virtual and override in C# was performance; the other motivation was making it easier to ensure new code versions do not break, at the cost of making it more difficult to extend code in subclasses. http://www.artima.com/intv/nonvirtual.html Been a little concerned about what it will be like fixing-up method declarations when hierarchies change in a codebase - the cost of having separate declarations and implementations. (Really don't make typos in method names - copy and paste fixed that a longtime ago. Similarly edit replace fixed that problem for name changes.) __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click