Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Maybe he prepares you to your first jobs that, maybe, require you to understand prehistoric stuff.
Djanjo4753yThis is how you learn to code, you start with basic stuff doesn't matter if deprecated or not, do you think I wanted to spend hours playing with C pointers ***** when now I'm mostly using Java?
Sure, I agree with you. I won't fault my for using rand() instead of <random> even though it's deprecated.
But C++11 adds a lot of new features that make things simpler. The auto keyword, for instance. for (auto &i: vec) doSomethinWith(i) is simpler then for (int i = 0; i < vec.size(); ++i) doSomethingWith(vec[i]). And so on. There's no reason to teach us the deprecated versions, when the newer ones are simpler and safer.
thank god it isn't turboC!