3 ms·
I'm not too impressed by this. You don't program C++ like you would C. Use vectors. Use RAII instead of new and delete. Use the STL. Of course, most people tha
by thras 18y ago
I'm not too impressed by this. You don't program C++ like you would C. Use vectors. Use RAII instead of new and delete. Use the STL.
Of course, most people that 'know' C++ learned it in college, which tends to be a lousy place to learn anything technical. They think of C++ as C with objects. In fact it's a language with all the power and nearly all the expressiveness of modern scripting languages, but tends to run everything a hundred times faster.
C++ is a multi-paradigm language. Its "objects," which tend to get more coverage than anything else during college courses, are actually the most uninteresting and least useful part of the language. Generic programming, on the other hand, is some pretty amazing stuff.