Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

[C++] delete considered harmful

Name: Anonymous 2016-01-02 14:13

The unbridled use of the delete statement has as an immediate consequence that it becomes terribly hard to find a meaningful set of coordinates in which to describe the process progress. ... The delete statement as it stands is just too primitive, it is too much an invitation to make a mess of one's program.

Never use delete, use smart pointers, memory pools, stack allocations. Don't break RAII.

Name: Anonymous 2016-01-06 6:44

>>27
>>28
No, I meant if you want low-level use C; if you want high-level use Lisp or anything else rather than C++ which is kind of pointless.

Name: Anonymous 2016-01-06 7:50

>>28
>>29

Keep deceiving yourselves with "C++ is bad lang !!" meme, enjoy your non-productivity.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List