3 ms·
I've experimented with this, too. One thing that I also like is that you can have multiple returns within the lambdas and know that the control flow paths will
by a_e_k 12y ago
I've experimented with this, too. One thing that I also like is that you can have multiple returns within the lambdas and know that the control flow paths will merge again at a common point. The compiler can also make sure that each one returns a value of a compatible type.