A summary of D's design principles

bearophile bearophileHUGS at lycos.com
Wed Sep 15 12:31:20 PDT 2010


Simen kjaeraas:

> Mind giving examples to this one? I thought this was a big no-no.

There are few silent differences, among them there are:
- usage of global floating point variables/arrays that in some C programs are used without initialization, assuming they are set to zero.
- fixed-sized arrays passed around by reference in C and by value in D2.

See also:
http://d.puremagic.com/issues/show_bug.cgi?id=4580

Bye,
bearophile


More information about the Digitalmars-d mailing list