News for hackers. Stuff that matters.
Re:Emerging JavaScript pattern: multiple return values by carterklein13 on Thursday October 29, 2020 @09:57AM (#24930519)
This is one of the main reasons I love using Go for backend work, and the lack of this functionality is just one of the reasons I dislike JavaScript.

Anything to make JS feel less haphazard and more elegant (i.e. using TypeScript) is awesome in my books. Looking forward to hopefully using this pattern in my personal work going forward, and maybe trying to introduce it to my team ta work.

Re:Emerging JavaScript pattern: multiple return values by AstroJetson on Thursday October 29, 2020 @11:37AM (#24931643)
Same reason I'm a Lua fan, multiple return values is a super function. With Lua it's baked into the language.