Re:List Processing in C
by gjm11 on Tuesday December 21, 2010 @06:38AM
(#2027535)
It's not only that C doesn't have closures; it doesn't even have anonymous functions. Here's a little Lisp expression that doesn't need closures
which squares all the elements of the list. To do that in C you need some abomination like
Not to mention that this sort of thing tends to get ugly without automatic memory management.
[ Parent
| on HN ]
There are no comments on this comment yet.