2 ms·
> new/delete, with no RAII There is nothing wrong with this. Plenty of people have no issues keeping track of memory in their head.
by dmitrygr 6y ago
> new/delete, with no RAII
There is nothing wrong with this. Plenty of people have no issues keeping track of memory in their head.
- skohan 6y agoI would argue that manual memory management should probably be avoided as a general best practice, but game development is a special case where memory management can often be critical to the performance of the final product, and a manual approach is sometimes warranted.