The Expressiveness of D

bearophile bearophileHUGS at lycos.com
Tue Nov 2 06:25:09 PDT 2010


%u:

> * The surprises you discover will be pleasant ones.

This is a very good note to keep in mind.


> // tuples aren't first class, why?

Maybe because D is mostly designed bottom up, low level considerations guide the design. This is positive because you end with an efficient language that requires just a "simple" back-end fit for a C compiler, but it misses a high level view of what's good for the programmer, and orthogonality is less common.

Recently Walter has expressed the desire to improve tuples (I presume for D3):
http://digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=118557
http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=118558

I have given some answers, where I have put lot of thought and energy, like:

http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=118601
http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=118711
http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=118788

But the discussion has gone nowhere again, I don't know why (as for integer overflows and some other discussions).

Bye,
bearophile


More information about the Digitalmars-d mailing list