Is there such concept of a list in D?

areYouSureAboutThat areYouSureAboutThat at gmail.com
Tue Dec 13 22:21:42 UTC 2022


On Saturday, 10 December 2022 at 15:59:07 UTC, Ali Çehreli wrote:
>
> ... Object orientation don't go well with collections....

On what basis do you make that assertion?

i.e. Which aspect of OOP programming 'don't go well with 
collections'?

Is it encapsulation?

Is it inheritance?

Is it polymorphism?

Is it generics? (which is an integral part of OOP these days)

As evidence against your assertion (just to start with):
C# -> System.Collections
C# -> System.Collections.Generic
C# -> System.Collections.Concurrent

Only when you provide related proofs, can you come up with such 
an axiom.



More information about the Digitalmars-d-learn mailing list