Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ncmncm
on Aug 25, 2022
|
parent
|
context
|
favorite
| on:
How to make Flappy Bird with C++
In most cases, not. Where there is a legitimate reason to share, share. Without, it is just sloppiness.
a_t48
on Aug 25, 2022
[–]
In the context of a game engine, I mean. You may be sharing a model or texture between multiple entities, and want to know when it’s no longer in use.
ncmncm
on Aug 25, 2022
|
parent
[–]
Even there, something higher up the stack probably knows too, and is in a better position to choose a good time to dispose of it.
a_t48
on Aug 25, 2022
|
root
|
parent
[–]
Possibly! It really depends on how you've architected things. I said it's "reasonable" not that it's the one true way of implementing it.
ncmncm
on Aug 25, 2022
|
root
|
parent
[–]
I think we really are all in agreement here.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: