News for hackers. Stuff that matters.
Re:Were multiple return values Go's biggest mistake? by debugnik on Saturday March 15, 2025 @07:07PM (#43375757)
> they should also argue functions should only take one argument, and use tuple destructuring to break it apart within the function

You say that as an hypothetical, but that's exactly how code is written in Standard ML; and the rest of the ML language family supports it to some degree, although they lean more on currying, like Haskell.

There are no comments on this comment yet.