5 ms·
> Even people with significant experience in their resumes usually fail to answer most basic questions like what is RAII or const correctness? In what cases wou
by dgzl 8y ago
> Even people with significant experience in their resumes usually fail to answer most basic questions like what is RAII or const correctness? In what cases would you rather pass around naked pointers instead of smart pointers?
I'm not claiming to be highly skilled with C++ (or any language for that matter), but I've spent several years as an undergraduate TA for the year-long intro to programming series which was taught in C++. I read the textbook over several times, helped create homeworks, exams and study material, and not once have I heard of RAII or naked/smart pointers. In fact, I've never heard the word 'correctness' in reference to the idea of const variables. Is my education faulty, or is it disingenuous to call these ideas 'most basic'?
- reducesuffering 8y agoMost universities are still teaching pre C++11, I believe. The terms you mentioned are much more relevant in modern C++, C++11 and onwards. Pre C++11 is more C-like, so I could understand them teaching it as it covers a breadth of C and C++, but new projects should be using C++11 onwards.
- sytelus 8y agoIf you have done all these within past 3-4 years then I’d say your educational institute has failed you. Today’s C++ programmers should be very familiar with Modern C++. Any new C++ projects should most definitely be using C++11 or newer. RAII is one of the most fundamental concept that C++ students should be intimately familiar and proficient with. Const correctness is also one of the fundamental tools that I would not live without. You should write to your professor with comments here.
- dgzl 8y agoI graduated 3 years ago, so that's close to right. I imagine my professors would say that the comment posters are out of touch with the contemporary University environment. And then the comment posters might say that the University is out of touch with contemporary industry needs from graduates. And I'd say you're both right, but here we are. I graduated from one of the better engineering schools in my West-coast state.