Re:Ask HN: OOP in Functional Programming Language
by schwartzworld on Saturday January 22, 2022 @07:53AM
(#30036234)
JS doesn't have true classes, but I use the class keyword often to do what you're describing: creating immutable OOP style models that i can pass around as function arguments.
[ Parent
| on HN ]
There are no comments on this comment yet.