A nice way to step into 2012
    so 
    so at so.so
       
    Tue Dec 27 11:50:52 PST 2011
    
    
  
On Tue, 27 Dec 2011 20:11:41 +0200, Walter Bright  
<newshound2 at digitalmars.com> wrote:
> On 12/27/2011 7:11 AM, Andrei Alexandrescu wrote:
>> Imagine how bitter I am that the string lambda syntax didn't catch on!
>
> As I told Andrei last night, I think it was a great experiment. Sure, it  
> failed, but it was a great idea, technically sound, and the fact that it  
> worked is a testament to D's power.
>
> If we're not willing to try things like that, we've failed in a much  
> grander sense.
>
> So I have no regrets at all about that.
If C++ or Java (or what have you) had support for string as template  
parameters,
string lambdas probably would be irreplaceable to many.
|"a % 2"|
|a => a % 2|
Still it is shorter.
    
    
More information about the Digitalmars-d
mailing list