A C programmer would
No.
int addone(int x)
{
return x + 1;
}
That's TDWTF material.
There is no such thing as an “executable” in the Lisp dream world, not in the usual sense at least.
And this is exactly what's wrong with Lisp and the entire cult surrounding the language: You mentally masturbate over theory, with little applications to practice, and is as useful to real programmers as a discussion of spherical cows is to a farmer.
I hope ya not using PHP these days
At least the majority of web hosts out there support PHP. Which is what it's good for, generating webpages. (And little else.)
But higher order functions and objects, which are simply glorified structs, are identical. A lot of C code pass around structs. It just looks different syntax-wise.
It's far more likely that the C code actually has a real need to use a struct, as opposed to the higher order function which may just be for shits and giggles. As I said above, it's not as
easy to add a struct compared to a lambda in Lisp; and that at least causes programmers to pause and ask themselves "do I really need to be doing it like this". With Lisp, it's as easy as
(lambda ...), and suddenly you've "written" a lot more code than you thought.
>>16
C++ is just a step above C in terms of making it easy to generate lots of code, whether you really need it or not.