Good complexity

Denis Koroskin 2korden at gmail.com
Fri Nov 21 08:36:53 PST 2008


On Fri, 21 Nov 2008 19:19:58 +0300, Tom S  
<h3r3tic at remove.mat.uni.torun.pl> wrote:

> bearophile wrote:
>> 6) Static if and static asserts seem a little more complex that the  
>> ways to do similar things in C, but they seem a good complexity.
>
> Static if and static asserts in C? Good joke.
>

No kidding:

#define STATIC_ASSERT(expr) typedef char __staticAssert[ (expr) ]

>
>> I think that most of the complexity of D is good, but there are many  
>> corners/things can be improved still, reducing the bad complexity of  
>> the language, adding more good complexity, reducing some corner cases,  
>> making D code both safer and faster to write and faster to run.
>
> Captain Obvious saves the day once more :D
>
>



More information about the Digitalmars-d mailing list