Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
EponymousCoward
on Dec 23, 2011
|
parent
|
context
|
favorite
| on:
How can Skyrim be so unoptimized? Modders do bette...
throw new BathwaterException(new Baby()) ?
jcarreiro
on Dec 24, 2011
[–]
No no no. Always throw by value, and catch by reference. Like this:
throw BathwaterException(Baby());
Wait, we are talking about C++ programming, right? ;)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: