Re:Show HN: C++ Editor for Teaching How to Code
by goalexboxer on Saturday January 19, 2019 @04:33PM
(#18949315)
I agree.
However, the goal of the computer science classes is to teach basic algorithms and data structures, and not focusing on the language particularly.
For instance, in the national exam (written) you may use any printing function (printf / cout), but you are limited to use C-style string functions. No vectors, no additional containers C++. Pointers are being studied too, but there are no exercises which involve coding in exams for memory allocations, so you never get to choose between new/malloc.
I don't like this situation but this is the problem I am trying to address, any idea is well appreciated!
if the goal is to have them writing C-style C++ code, why not just use C? or if the goal is to teach C++, why start with only the features available in C?
I've been a TA for classes in both C and C++, and I think we ultimately do a disservice to these students by not treating these languages more separately.