Daniel Duffy
C++ author, trainer
- Joined
- 10/4/07
- Messages
- 10,440
- Points
- 648
Even if you limit C++ to the python subset, it will not be as good as python for the tasks people use python for.
What are these tasks?
The whole point of python is rapid development. In C++ it takes you a day to write and debug a small class. In python you can do it in 10 minutes.
I do not necesarily say I was going to use C++ classes. I can encapsulate C functions and data in a namespace.
God help you when you try and port your C++ code to a different machine/compiler too.
If you use standard C++ it's OK.
You are missing the point.
Flattery will get you nowhere :D
What are these tasks?
The whole point of python is rapid development. In C++ it takes you a day to write and debug a small class. In python you can do it in 10 minutes.
I do not necesarily say I was going to use C++ classes. I can encapsulate C functions and data in a namespace.
God help you when you try and port your C++ code to a different machine/compiler too.
If you use standard C++ it's OK.
You are missing the point.
Flattery will get you nowhere :D