Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
zero_shift
· 1y ago · 0 comments
I like the bang operator for propagating errors. Shame to lose multiple returns though
Comments
[–]
alain_gilbert
1y 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.
[–]
Yoric
1y ago
Well, it seems to support tuples, which are more powerful.