3 ms·
Inlining getters should not cause crazy stability bugs. I'm also a former game developer and I see both sides of it. To be honest one thing that I think is tr
by davedx 15y ago
Inlining getters should not cause crazy stability bugs.
I'm also a former game developer and I see both sides of it.
To be honest one thing that I think is true is it's probably not some hacker's fault - the marketing and politics BS that goes on with respect to choice and support of platform when making AAA games is really horrible sometimes.
- EponymousCoward 15y agothrow new BathwaterException(new Baby()) ?
- jcarreiro 15y agoNo no no. Always throw by value, and catch by reference. Like this: throw BathwaterException(Baby()); Wait, we are talking about C++ programming, right? ;)
- larsberg 15y agoEven if you assume the compiler is perfect and only making semantically valid transformations, changing performance characteristics often changes your odds of hitting race conditions.