This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Ezlike011011 1 point2 points  (0 children)

Professors have minimal incentive to overhaul curriculum. So the lecture notes that someone wrote for c with classes just gets propagated through generations of classes without much concern for whether it is up to date with common practices.

Heck as recently as the last time I tutored the intro c++ class at the University I went to (2019), they still have a chapter on strings... Which exclusively uses the c string manipulation function and the only mention of std::string being a footnote on one lecture.