Comment

Comment by asimpletune

Functions can accept/return multiple values though?

// In typescript const [a, b, c] = foo(d, e, f)

You could even pass this to itself

foo(…foo(d, e, f))

Also one definition of a function is a map from a domain to a range. There’s nothing that forbids multiple values, or is there?

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton