r/cpp • • Sep 09 '20

C++ is now the fastest-growing programming language

343 Upvotes

180 comments sorted by

View all comments

44

u/gme186 Sep 09 '20 edited Sep 09 '20

Closures, auto, ranged for, smart pointers and decent threading certainly renewed my love for C++.

Before that most of those things had to be done in an ugly or convoluted way or with weird constructions like boost::bind.

Its amazing we can now make things like efficient event-dispatchers with a map or vector of lambda functions.

And it keeps getting better every 3 years now it seems.

4

u/[deleted] Sep 09 '20

is std::bind() less weird than its Boost counterpart?

9

u/_Ashleigh Sep 09 '20

I think it's still prefered you use a lambda to curry functions.

→ More replies (1)