DMD 0.149 release

Hasan Aljudy hasan.aljudy at gmail.com
Wed Mar 8 10:13:28 PST 2006


Lucas Goss wrote:
> Hasan Aljudy wrote:
> 
>> Lucas Goss wrote:
>>
>>> Walter Bright wrote:
>>>
>>>> Changed on_scope keywords per the general consensus of the n.g.
>>>
>>>
>>> nooooooooooooooooooooooooo... I guess I was the only one that didn't 
>>> like the proposed change of scope(...). Inconsistencies in d drive me 
>>> mad (crazy). I love the language and hate it at the same time.
>>
>>
>> What's the inconsistency here?
> 
> 
> The inconsistency is in the style of the language. Where else in the 
> language is there a keyword inside another keyword?

while(true) :)

> Yes I know exit, 
> success, and failure aren't necessarily keywords, but they are within 
> the context of scope() (or scope of scope, :) ). The only other instance 
> I can think of is switch(), but "case" is in the block of the switch 
> statement (not inside the parenthesis). All other keywords with ()'s 
> have expressions/conditions inside.
> 

D inherits alot of inconsistencies from C ..

for loops vs while loops.. horrible inconsistency!! You actually but 
semi-colon seperated statements inside the for( .. )

switch/case/break construct doesn't really resemble anything!!

key_words_with_under_scores_are_worse



More information about the Digitalmars-d-announce mailing list