logoalt Hacker News

9029yesterday at 6:45 AM1 replyview on HN

C++ lambdas can be used to achieve a similar result, not as pretty though https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines... But in general I agree!


Replies

knorkeryesterday at 8:45 AM

The fact that you can't return from there makes for a huge difference, though,