News for hackers. Stuff that matters.
Re:JavaScript Records and Tuples Proposal goes to stage 2 by syspec on Thursday July 23, 2020 @11:46AM (#23928570)
I'd rather just be able to mark an object as frozen, which we can already do.

JavaScript is adding so much new syntax I feel bad for people starting to learn the language now.

Re:JavaScript Records and Tuples Proposal goes to stage 2 by jakelazaroff on Thursday July 23, 2020 @11:50AM (#23928615)
In terms of syntax this seems pretty lightweight, though. It's the same as instantiating a normal object or array, except with a hash in front.
Re:JavaScript Records and Tuples Proposal goes to stage 2 by oweiler on Thursday July 23, 2020 @02:51PM (#23930870)
It's lightweight, but also looks obscure and will probably be hard to google.