Y
Hacker News
new
|
ask
|
show
|
jobs
by
jbreckmckye
324 days ago
I like the bang operator for propagating errors. Shame to lose multiple returns though
2 comments
alain_gilbert
324 days ago
That's why there is a "Tuple" expression that you can use instead, which allows you to easily return multiple values, and destructure them as well.
link
Yoric
324 days ago
Well, it seems to support tuples, which are more powerful.
link