DMD 0.148 - regular expressions

Lionello Lunesu lio at remove.lunesu.com
Mon Feb 27 00:40:21 PST 2006


"Walter Bright" <newshound at digitalmars.com> wrote in message 
news:dtr2ff$2vqr$3 at digitaldaemon.com...
> The match expressions are gone. Based on the feedback, people didn't want 
> D to adopt perl'ish notation or implicitly defined variables. Instead, 
> foreach statements now allow implicit typing of the key/value 
> declarations, and the if statement now can declare a variable for the 
> result (an adaptation of Ben Hinkle's idea).

Too bad you didn't create a separate thread for the new if statement. What 
was wrong with the C++ construction:

if (int a = getSome()) {...}

?

L. 





More information about the Digitalmars-d mailing list