Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
AnimalMuppet
on Sept 22, 2019
|
parent
|
context
|
favorite
| on:
Why I Write Games in C (yes, C)
But then what's left of RAII? What resource is there to allocate other than the memory itself? RAII means more than just "get memory to put this in".
vnorilo
on Sept 22, 2019
[–]
Presuming GP includes unique_ptr, there's no real loss of RAII. In my opinion you might as well write trivial classes, but hey, to each his own.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: