News for hackers. Stuff that matters.
Re:JavaScript Structs by ericmcer on Friday October 11, 2024 @12:07PM (#41810737)
Yeah I was almost gonna say it makes this proposal feel redundant. I can enforce object shape pretty well using TS, not sure why we need another OOP like thing that tries to do the same.
Re:JavaScript Structs by klysm on Saturday October 12, 2024 @11:24PM (#41824940)
Typescript doesn’t tell the JS runtime anything about what it knows