News for hackers. Stuff that matters.
Re:EasyLambda – parallel data processing with modern C++ by lorenzhs on Tuesday March 15, 2016 @08:05AM (#11288975)
It's very common when chaining lots of operations, each of which transforms the result of the previous one (functional style). I've seen tons of Scala code do it. Writing it all in one line would be quite the unreadable mess.
Re:EasyLambda – parallel data processing with modern C++ by skeuomorf on Tuesday March 15, 2016 @12:44PM (#11290966)
Yeah, it's pretty common with code that uses the builder pattern as well. I also like to use it with rust combinators e.g. https://github.com/skeuomorf/conshash/blob/master/src/lib.rs...
Re:EasyLambda – parallel data processing with modern C++ by hellofunk on Tuesday March 15, 2016 @08:58AM (#11289224)
I've seen it in other languages, just not in C++ before. I like it.