Comment

Comment by ModernMech

> "new" and "delete" considered as bad practices.

Depending on what kind of work you do, you may not have a choice as to whether you get to you smart pointers or not. Our students go into work with decades-old codebases littered with new and delete. They need to know what they do.

> You claimed that you don't have to teach Manual Memory management in Rust so why not do the same for C++?

Because there are no old rust codebases where manual memory management is an issue.

parent ModernMech 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton