My friend and I are arguing about the concept of anonymous (lambda) functions in C++. The utility of those is undeniable when considering rapid development and flexibility.
I'm arguing that they can't be worth it. Either the compiler would have to check for the format of the function, requiring its return type and arguments to be strict (identical to using a function pointer), or it would ignore everything that rules C++ versus scripting languages, and then debugging would be a total nightmare.