Hacker News new | past | comments | ask | show | jobs | submit login
C++17 Fold Expressions (baptiste-wicht.com)
4 points by ingve on May 23, 2015 | hide | past | favorite | 1 comment



It seems very ironic that C++ adds more rules to the language in order to get less cluttered code.

This "..." syntax, which probably won't be used a lot of times, will be nice because you'll understand intuitively what the code does at the first sight. And that's good. However, you'll have to spend the rest of your time dealing with the surrounding code: templates, iterators, move-semantics double-amperstands, std::forward and other subtleties of modern C++.

(Note: not being negative here, I actually do enjoy C++; I'm just staring at the giganormous complexity of the language.)




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: