News for hackers. Stuff that matters.
Re:Ranges, Code Quality, and the future of C++ by cbsmith on Wednesday December 26, 2018 @04:50PM (#18765240)
Honestly, I don't understand how the coroutine version is easier to read, or what was confusing about the original example.

Either you grok yield or you don't.

Re:Ranges, Code Quality, and the future of C++ by MauranKilom on Wednesday December 26, 2018 @05:29PM (#18765470)
I find it's a lot more boilerplate, more visual overhead in finding the important bits in the sea of various brackets... But maybe I'm just blinded by imperative upbringings.