Linked by Owen Anderson on Mon 19th Apr 2004 05:43 UTC
General Development For years the development scene has been dominated by the C family of languages, primarily C itself and its immediate successor C++. Recent years have given rise to other C-descendents, however, such as Sun's Java and Microsoft's C#.
Permalink for comment
To read all comments associated with this story, please click here.
RE: They are strings not null pointers
by Ogondolo on Wed 28th Apr 2004 00:03 UTC

As I see, it matter of taste, and convention. D treats stings as primitive type, and not as an object type, as most of the strictly typed OO languages which I know (Java,C#,...)
In C nobody wants to assign nulls to int:
int a = 0;
int b = null;
if (a==b) {

It would be very strange :-D If you substitue 'int' with 'string' then you get ....