Cumulative

Shammah Chancellor anonymous at coward.com
Tue Feb 25 03:13:43 PST 2014


On 2014-02-25 05:38:15 +0000, Jesse Phillips said:

> When I've had a need for base classes to call super class functions, I 
> certainly wanted a way to enforce it. I just don't know if it would 
> just lead to other OOP design problems.

Sounds like a good reason to use unittests to me.   The compiler can't 
possibly deal with all the different ways you might want to enforce an 
OOP pattern in a particular program.   Introducing more keywords does 
not seem like a fix.

-S.



More information about the Digitalmars-d mailing list