News for hackers. Stuff that matters.
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?
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.

Re:Update to the .NET Language Strategy by mastax on Wednesday February 08, 2023 @07:54PM (#34718175)
Classes are part of the .NET intermediate representation (CIL) that the compilers emit and that the virtual machine executes. OOP is baked in at a low level.