back

by dmitrygr·12y ago·view on hn ↗
Can you give an example of any codebase not using any new or delete at all that compares in size?

"Right or Wrong" are irrelevant in the face of "Practical or Not".

The fact that all large pieces of serious code use new and delete would either imply that the author is smarter than all the people writing that code combined, or (more likely) he did not consider something w.r.t. the practicality of not using them.

Let me go further and explain my original post in a more succinct fashion:

One giant [[citation needed]] on every claim in this article, including, but not limited to, new and delete being useless.

1 comments
No but it is the trajectory of the future and it's very practical. I'm not saying there aren't oddball cases that will require new and delete, but for the most part, it simply isn't necessary.

As for the citation, if you are immersed in the C++ community in general (going native, c++ now, subreddits, irc, accu meetings, etc), it's the general feeling.