Array implicit conversions subvert type system
Mike Capp
mike.capp at gmail.com
Fri Nov 24 17:36:57 PST 2006
Gregor Richards wrote:
> No, purposeful, contrived subversion of the type
> system subverts the type system.
Purposeful, contrived subversion of the type system should be marked as such with
a cast, IMHO. That's what casts are for. It's hardly a burden for the programmer,
and it prevents accidents.
This crops up in basic OO FAQs for a reason. It's a real mistake that real people
make.
More information about the Digitalmars-d
mailing list