Why is D unpopular?

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Sat Jun 11 08:16:30 UTC 2022


On Saturday, 11 June 2022 at 07:27:43 UTC, Paulo Pinto wrote:
> There are no classes in pattern based OOP languages like BETA.

Pattern is very close to how classes work in Simula, just 
generalized to cover functions and more. You can have executable 
code in the body of a Simula class too.

Lambdas in C++ captures some of that spirit.

What tends to confuse people is that they conflate OO with 
language features, but OO is a modelling strategy, not a language 
extension mechanism. OO language features are there to make 
implementation OO models easier.

OOP is a good features set to implement a model, but usually 
inadequate for extending the language (which is never was 
intended for).

(Regardless, D is class based and should be evaluated as such.)


More information about the Digitalmars-d mailing list