On Fri, 21 Nov 2008 19:19:58 +0300, Tom S
<[EMAIL PROTECTED]> 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