3 ms·
Those of us who had nested functions/procedures and “procedural types” in Pascal (or Algol, but that’s beyond my experience) back in the day have :-) Then K&R
by Roboprog 9y ago
Those of us who had nested functions/procedures and “procedural types” in Pascal (or Algol, but that’s beyond my experience) back in the day have :-)
Then K&R came, and took our nice toys away.
Fortunately, the GNU Pascal compiler needed nested subroutines, so they exposed the feature in their C compiler, as well.
- pjmlp 9y agoAnd now even C# has them. :) On C++ we can fake them with lambdas.