If you write C code and compile it using the C ++ compiler, you can use a different language for testing.
But not for code written in C ++ style.
How do you verify the correctness and uptime of copying, assignment, overloading? What about patterns? No scripting language will call them in the same way that C ++ does; many do not even have the concept of pass-by-value.
Test the environment that you intend to use ultimately to use the code.
source
share