standardization of D

Anders F Björklund afb at algonet.se
Thu Apr 5 01:07:12 PDT 2007


Ameer Armaly wrote:

> 2. We have two competing standard libraries; this is nowhere near good. 

Yeah, I find that it's kinda funny that we have gone from:

int main(char[][] args)
{
     printf("hello world\n");
     return 0;
}

in the original D introduction and samples to the current:

version (Tango)
import tango.io.Console;
else // Phobos
import std.stdio;

void main()
{
     version (Tango)
     Cout ("Hello, World!").newline;
     else // Phobos
     writefln("Hello, World!");
}

And then there are all these new "D++" additions in progress
that I haven't quite understood yet. Like 4 languages in one :-)

--anders



More information about the Digitalmars-d mailing list