Hacker News new | ask | show | jobs
by giantg2 381 days ago
I don't think there are any main concepts that I learned in C++ that weren't also covered in other courses, such as Java, assembly, and COBOL. If we're going to teach different types of languages then they should be truly different, such as the ones just mentioned.
1 comments

Of course you can teach most concepts in most languages, but when it comes to understanding concepts like stack vs heap, pointers to a value vs the value itself, move vs copy semantics, pass by reference vs pass by value, explicit vs implicit memory allocation and deallocation, and so on, I found C++ pretty useful.
Sure, and those are pretty much all things you learn in assembly with the added benefit of understanding the structure (registers).