ProtoObject and comparison for equality and ordering

Mike Franklin slavo5150 at yahoo.com
Wed May 15 01:38:24 UTC 2019


On Wednesday, 15 May 2019 at 01:02:49 UTC, Andrei Alexandrescu 
wrote:

> Overall: I dream of a D landscape whereby this is enough of a 
> problem to deserve discussion, a DIP, review, and 
> implementation. As things are there are sufficient things to 
> discuss and improve in D to make this exchange ironic.

This is a fundamental feature of the new proposed object 
hierarchy on which so much D code will depend.  How is this not 
worthy of brainstorming, exploration, and consideration?  If it's 
not done well, and thoroughly, we'll be inventing yet another 
object hierarchy 5 years from now.  It also serves to educate 
those participating in and watching this discussion so they 
understand why things are the way they are.  Then can then spread 
that knowledge to the next generation of D programmers without 
having to query those that did that actual work and made the 
decision.

I'm seeing a lot of interesting ideas coming out of this 
discussion, and it's exciting and encouraging to know we have so 
many potential options to choose from and consider.  With a 
little patience, the dust will settle and something quite nice is 
likely to emerge.

Mike


More information about the Digitalmars-d mailing list