Date: Mon, 11 Oct 2021 15:58:48 +0200
I see many of my algorithms that would take advantage of coroutines to better clarify my code.
I love the simplicity of modern c++.
But at the current state of affairs, I refrain from using coroutines because I feel that it is too verbose, error prone, and globally, a hassle to setup.
As a parallel, I don't need to know how to implement the vector class to use it.
I would like a high level, approachable way to define my function, and use co_xxx inside and be done with it, letting library/compiler to generate a default for me.
Is it the future of the coroutines implementation (easy to use for developers that just want to think about algos running as fast as possible and not the nitty gritty implementation details) or will we be left with a lot of verbosity to make things work?
This is in no way aggressive, I just need to know your point of view.
Received on 2021-10-11 08:58:52