Future of string lambda functions/string predicate functions

qznc qznc at web.de
Tue Aug 6 02:30:27 PDT 2013


On Tuesday, 6 August 2013 at 09:05:57 UTC, Jakob Ovrum wrote:
> In Phobos pull request #1453 (Implement chunkBy.)[1], the topic 
> of string lambda functions has again cropped up. I think we 
> should clearly decide on some things regarding them. Questions 
> such as; are they a worthwhile alternative in the present 
> language? Should they be deprecated? Should they be supported 
> in new additions to Phobos?
>
> What does everyone think?

I was certainly irritated, when I used the std.functional stuff 
the first time. Code generation through strings is kind of a last 
resort to me. It should be avoided if possible. Since it is 
possible now, I would vote for deprecating string functions.


More information about the Digitalmars-d mailing list