3 ms·
There's a pretty good comment on this post from a shadow banned user named Kenji, which I'm reproducing below: This is basically how I program C++. Except that
by jeffreyrogers 9y ago
There's a pretty good comment on this post from a shadow banned user named Kenji, which I'm reproducing below:
This is basically how I program C++. Except that I try to avoid the 'new' keyword too by std::make_unique and std::make_shared. This way there are literally zero 'new' and 'delete' or 'malloc' or 'free' calls in your program.
- saagarjha 9y agoI just vouched for that comment, so it should show up now.
- jeffreyrogers 9y agoOh cool, I didn't know you could do that.
- deleted 9y ago[deleted]