DMD 0.149 release
Lucas Goss
lgoss007 at gmail.com
Wed Mar 8 12:10:07 PST 2006
Hasan Aljudy wrote:
> Lucas Goss wrote:
>> The inconsistency is in the style of the language. Where else in the
>> language is there a keyword inside another keyword?
>
> while(true) :)
Hmm, true. But while accepts a condition. So I can do:
while(myTimer < 1000), while(!done)
but I can't do:
scope(isFinished), scope(timerAbort)
> D inherits alot of inconsistencies from C ..
Yeah that's what kills me. I can use a nice consistent language like C#
or Java, or a nice performing language like C/C++ or D. Why can't I have
both... sigh.
> for loops vs while loops.. horrible inconsistency!! You actually but
> semi-colon seperated statements inside the for( .. )
I don't like those either.
> switch/case/break construct doesn't really resemble anything!!
Yeah, basically a bunch of if/else if/else statements in disguise.
> key_words_with_under_scores_are_worse
Yeah I don't like the key_words_with_underscores either, that's why I
wanted a change, just not the kind with ()'s.
More information about the Digitalmars-d-announce
mailing list