by mtdewcmu · 13y ago · 0 comments
What I have wanted is closures that you can stick data inside. But they can't be done in a reasonable way in a language like C. The C++ version falls short of usefulness.
One thing I would like in C is a more programmable preprocessor. C++ templates are on to something useful -- metaprogramming removes some of the drudgery from writing fast native code. Templates are fatally flawed, though. I think it may be possible to get some of the benefits from a smarter preprocessor -- if it was done conservatively in the C style.