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

> In the case of foreach, it's simple to be sure, and I'm pretty fine with calling foreach "syntactic sugar".

Yeah, I was responding specifically to the "foreach" and specific things layered on top of foreach, which are fairly straightforward in most popular non-FP languages.

> Even something as simple as function composition breaks down a bit in C.

Quite. No argument there. At least with standard C. (I think Clang and GNU C both have extensions -- but not the same ones -- that make this reasonably straightforward in simple cases, but still much less elegant than, say, Haskell.)



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

Search: