4 ms·
It all depends on the type of C++ you are writing. It is such a vast language that usage patterns can range anywhere from C90 plus declare-where-used and single
by maximilianburke 16y ago
It all depends on the type of C++ you are writing. It is such a vast language that usage patterns can range anywhere from C90 plus declare-where-used and single line comments to something that in practice isn't a whole lot different than C#. Modern C# includes RAII-like idioms with using statements and IDisposable replacing C++'s destructors, and C++ manages to fake garbage collection using smart pointers.
It's not an ideal basis but there are worse languages to learn before coming to C#; it might even be easier for C++ programmers to move to C# and begin working comfortably than Java programmers.