Hacker News new | ask | show | jobs
by dekhn 1183 days ago
moc is the part of C++ the standards folks didn't see a need to integrate, but it should have always been there. Since all it does is take syntactic sugar and output more C++, it's clearly C++.

of course, C++ eventually gained the ability to implement moc natively using a more general solution.

to me, moc and the Qt base classes sort of round out C++ to me in a way that is better than the alternatives. I can imagine an entire world of application development based on Qt C++ base, and in fact I've written a few network servers this way. Simply having event loops with message passing built-in makes programming that much more enjoyable for me.