On Sun, 18 Jan 2015 22:56:23 +0000
Jens Bauer via Digitalmars-d <[email protected]> wrote:

> On Sunday, 18 January 2015 at 18:16:47 UTC, Marc Schütz wrote:
> > Unfortunately, this would break existing code:
> 
> That is absolutely correct. Good catch. I did not think of that 
> particular case.
> 
> However... What if the 'else', which "belongs" to while, is named 
> differently, for instance ...
> 
> while(expression1)
> {
> }
> otherwise if(expression2)
> {
> }
> 
> I know otherwise is a longer word, but it would not clash with 
> existing code.
it will introduce a new keyword, and it will break any code which using
"otherwise" as identifier. as far as i can tell this (introducing new
keyword) is one of the hardest thing to do, 'cause Walter will reject
it without second thought (and he will be perfectly right).

Attachment: signature.asc
Description: PGP signature

Reply via email to