News for hackers. Stuff that matters.
Re:JavaScript Structs by wk_end on Friday October 11, 2024 @01:34PM (#41811484)
Using JS/TS in a functional style doesn’t mean using prototypes or function binding or anything. I’m not sure how you inferred that from the comment you’re replying to…it just means using plain objects (TypeScript even, a little awkwardly, lets you express ADTs) and plain functions, perhaps with the module system to organize them.

There are no comments on this comment yet.