Comment

Comment by kaashif

> add just enough of a tuple types feature to support multiple return values

What's the difference between returning a two element struct and a pair of value and error?

I never understood why "multiple return values" is a thing anyone should care about.

parent kaashif 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton