Inject in to object

Dominikus Dittes Scherkl dominikus.scherkl at continental-corporation.com
Mon Jun 3 13:24:18 UTC 2019


On Monday, 3 June 2019 at 08:09:17 UTC, Amex wrote:
> I mean, if everything could be done with extension methods then 
> why have object in the first place?

That's a really good question.
And my personal answer is: objects are kind of outdated stuff. 
Some Object kernel may still be of didactic or documentary use, 
but no need to add special or complicated stuff to them. That is 
most of the time better done with extension methods.


More information about the Digitalmars-d mailing list