Spec#, nullables and more

retard re at tard.com.invalid
Fri Nov 5 12:06:46 PDT 2010


Fri, 05 Nov 2010 13:40:59 -0400, bearophile wrote:

> Walter Bright:
> 
>> The $10 billion mistake was C's conversion of arrays to pointers when
>> passing to a function.
>> 
>> http://www.drdobbs.com/blog/archives/2009/12/cs_biggest_mist.html
>> 
>> Sadly, there's an ongoing failure to recognize this, as it is never
>> addressed in any of the revisions to the C or C++ standards,
> 
> I agree, that's a very bad problem, probably worse than null-related
> bugs. But Java, C#, and D have solved this problem already, so we can
> now go on and try to solve other problems. This thread was about a
> different problem (null-related bugs), currently present in Java, C#,
> and D too.

One first needs to study these more modern languages before he/she can 
form any kind of relevant opinions.

>> and is missed by the supposedly "safe C" alternatives.
> 
> This is probably wrong. I don't know many C alternatives

The primary competition of D is all "safe/better" C clones, and naturally 
C and C++. D is trying to beat C and C++. To me it seems like the authors 
fail to see how and why more modern languages succeed.


More information about the Digitalmars-d mailing list