Sealed classes - would you want them in D?

rikki cattermole rikki at cattermole.co.nz
Fri May 11 10:43:19 UTC 2018


On 11/05/2018 10:32 PM, KingJoffrey wrote:
> When I can contain the class abstraction within the class, then I will 
> begin to take D more seriously.
> 
> Perhaps this is why some say 'idiomatic' D does not really use classes 
> (cause they haven't been implemented correctly anyway, so why bother 
> using them).

We have vastly different views on the subject.
Classes are expensive, not everybody wants to pay for what it gives in 
all situations.


More information about the Digitalmars-d mailing list