0

override keyword

modern c++ syntax recommends to use override keyword for virtual functions in derived classes, isn't it? why do we learn obsolete syntax?

27th Aug 2016, 7:13 PM
Ernst Maurer
Ernst Maurer - avatar
3 Respostas
0
Well, it's C++03 here at SoloLearn. For learning the basics this is enough although getting familiar with the new syntax and concepts will be much more beneficial in real-life programming.
27th Aug 2016, 8:23 PM
Stefan
Stefan - avatar
0
thanks for honest answer. not sure that is good practice, students will face with"real life" and won't be ready because were learning an obsolete language version/syntax/style. how do you think what will their opinion about your learning courses? ;)
27th Aug 2016, 8:44 PM
Ernst Maurer
Ernst Maurer - avatar
0
@Ernst: Well, learning about a specific subject is oftentimes accompanied by learning about other stuff, too. Therefore, learning C++03 might not only serve the purpose of learning C++ itself, it might serve the purpose of learning algorithmic thinking. Additionally, learning a language that requires more focus on basic technical detail might help foster a deeper understanding of these technical details, too (there's actually a school of thought in teaching that goes for the bottom up approach learning assembler first). Nevertheless, it's not the perfect way for a programming apprenticeship but getting fit for a job is also a very specific goal.
27th Aug 2016, 9:06 PM
Stefan
Stefan - avatar