Re:Update to the .NET Language Strategy
by BenGosub on Wednesday February 08, 2023 @07:07PM
(#34717689)
How come classes are being used in a functional language?
[ Parent
| on HN ]
Re:Update to the .NET Language Strategy
by layer8 on Wednesday February 08, 2023 @07:33PM
(#34717948)
Closures and objects are very similar: a bunch of data with associated code that you can call.
See also https://wiki.c2.com/?ClosuresAndObjectsAreEquivalent.