Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In C++? No idea - I think C++ just has an inferiority complex and wants to look cool.

In other languages, though, it's pretty neat. For example, in Rust one just does

    data.iter().fold(0, |s, e| s + e)


Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: