> Rust is much easier to teach than C or C++, Not sure about that. If you know C, which is easy to learn, you already know a lot about C++, or at least the parts that are used most of the time. Learning about the borrow checker, match enums don't seem very easy at first, although they surely seem elegant and much safer.
C appears easy to learn. C++ a bit harder, but learnable. What isn't easy to learn is all the horrible ways C is broken. Don't return addresses to local variables. Remember realloc can change the location pointer. Don't use the C string functions. C++ adds fun gotchas like using the c_str() of a temporary string object. Carelessly passing local objects by reference to a lambda thread function. All of the amusingly ho…
It is great to have a language that teaches you to write better code. Failure is a good teacher too.
If you tell a student to follow some rules without telling him why those rules exist, it is not always a good idea.
It is an awesome idea to have the safest code, but not necessarily a good idea to teach programming using safety rules.