Hacker News new | past | comments | ask | show | jobs | submit login

Now that we know lambdas they are fine, but to answer the question "why is there a book" in the beginning of the thread, it is more or less because it is not as obvious as gcc's c extension.



What is so cryptic that there needs to be a separate syntax change?

    auto triple = [](auto x){ return 3 * x; };


Ye well nothing when we have already are to lambdas.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: