Future of string lambda functions/string predicate functions

dennis luehring dl.soluz at gmx.net
Tue Aug 6 03:22:53 PDT 2013


Am 06.08.2013 12:09, schrieb Jakob Ovrum:
> On Tuesday, 6 August 2013 at 10:05:54 UTC, Jakob Ovrum wrote:
>> I think those few situations should forego string lambdas in
>> favour of reduced cognitive load and increased consistency.
>
> To clarify: those are the benefits we gain under the presumption
> that string lambdas are not inherently flawed.
>
> I personally believe that they *are* - as long as string lambdas
> magically introduce symbols and are limited to an arbitrary
> selection of accessible symbols, I don't think it's reasonable to
> use them in *any* code.
>

100% correct - string lambdas behave just not very generic, at all

but normal lambdas do, with the big disadvantage of a little bit more 
keyboard grinding :)


More information about the Digitalmars-d mailing list