Y
Hacker News
new
|
ask
|
show
|
jobs
by
redcodenl
3710 days ago
Of course it does, you actively choose to throw something! That is, in some cases, perfectly acceptable. All three methods tell you there is something else in case you don't have a value in the optional. get() doesn't.