3 ms·
Advanced template metaprogramming is far less common of a skill than opening a generated source file and reading source code.
by cjslep 11y ago
Advanced template metaprogramming is far less common of a skill than opening a generated source file and reading source code.
- zerr 11y agoWell, one of the aim of C++11 (and 14) is to make template metaprogramming much easier.
- emsy 11y agoTo the user it shouldn't matter wether you use a moc DSL or a template DSL. If you're a developer, you'll have to learn the innards of the moc on top of C++, which already contains templating anyway. When I first saw the signal/slot API, I wondered how they solved it and was dissappointed that they used a standalone tool for something that could've been solved with standard C++.
- stevejones 11y agoC++ is a far more common skill than moc. I know C++, I can barely get my head around writing a Qt app.
- 0xFFC 11y agoExactly , Even if TMP is much harder than MOC, TMP is standard , by forcing people to learn it they are not doing something wrong or ridiculous , but by forcing people to learn something specific to framework we are doing something wrong in my opinion {then why should we have standard at first place ? every one can create its own C++ }