Is there such concept of a list in D?

Ali Çehreli acehreli at yahoo.com
Tue Dec 13 22:33:02 UTC 2022


On 12/13/22 14:21, areYouSureAboutThat wrote:
 > 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?

You stripped my answer.

 > 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)

I am impressed with the questions. Waiting for your answers...

 > 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.

Or I can tell what I think, you counter, and we all learn. Proofs... 
Axioms... Pfft...

Ali

P.S. I apologize for everything I've done to you in the past. Don't 
forget: You can always forkit!


More information about the Digitalmars-d-learn mailing list