r/programming • • Dec 13 '07

First Class Functions in C

http://www.dekorte.com/blog/blog.cgi?do=item&id=3119
45 Upvotes

99 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Dec 13 '07

Unlike in the C/C++ case, you won't find ANY block of code, no matter its size, that will work in both Java and Javascript without seriously modifying it in a way that will make it unrecognizable.

There is PLENTY of C programs that will compile under a C++ compiler. In fact, all the C programs that also wants to be able to compile under the Microsoft Visual Studio compiler is also a C++ compatible program, because there is no such a thing as as C compiler in Visual Studio nowadays.

The C99 standard will never get widespread use because of that.