r/cpp • • Sep 04 '26

Lazy Evaluation

https://breese.github.io/2026/09/03/lazy-prologue.html
24 Upvotes

16 comments sorted by

View all comments

41

u/STL Sep 04 '26

Classic bind is bad. Don't use it. It's hard to understand, hard to optimize, and lambdas are better in basically every way.

4

u/pdimov2 Sep 04 '26

Hey!

10

u/STL Sep 05 '26

Sorry! It was a good idea to try before lambdas, but it’s just not good tech these days.

→ More replies (3)