5 ms·
Most C++ code wont compile for multiple reasons. For example using namespace std will result in errors if your code calls a function which is now part of std.
by jhasse 9y ago
Most C++ code wont compile for multiple reasons. For example using namespace std will result in errors if your code calls a function which is now part of std.
- throwaway613834 9y agoBut you can get rid of compile errors pretty easily. Pretty darn different from Python where you have to run the code to find issues.
- CJefferson 9y ago"most" is a great exaggeration. Yes, I few more names have been added. Also, it was always known adding namespace STD could cause problems. The same issues arise with import * in python.
- jhasse 9y agoThat was just one example though. In my experience getting old C++ code to compile and run isn't so easy.
- user5994461 9y agoI actually think that migrating from Qt4 to Qt5 has a lot of similarity with python 2 to python 3. Not sure why there aren't more people doing the comparison.
- freeone3000 9y agopyqt is a robust enough wrapper to avoid the migration issues, so in a python thread you won't have anybody who suffered through that mess.
- user5994461 9y agoI am not talking about pyqt or python code, I mean pure C++ projects using Qt. The transition from 4 to 5 had some hiccups.