r/cpp • • Aug 25 '21

Experience C++ developers: do you enjoy using C++ (even for personal/hobby projects?)

Do you actually enjoy using C++, or do you only use it for work, or purely for performance? This question is aimed at people with years of experience, who've worked on large projects in C++. I see people who dislike the language, but use it purely for performance reasons. This sort of discourages me from learning it. I don't want programming to feel like work.

204 Upvotes

327 comments sorted by

View all comments

Show parent comments

1

u/Antervis Aug 25 '21

it's not a "function", it's a "scope"

1

u/VilelaH Aug 26 '21

here said it is a kind of function: https://en.cppreference.com/w/cpp/language/lambda, but, OK. As I said discovered this days!

1

u/Antervis Aug 26 '21

well lambda has to start with [] block, so minimal "function" will be []{}