3 ms·
Well, Verse has both OOP and inheritance: https://dev.epicgames.com/documentation/en-us/uefn/subclass-in-verse https://dev.epicgames.com/documentation/en-us/ue
by mike_hearn 2y ago
Well, Verse has both OOP and inheritance:
https://dev.epicgames.com/documentation/en-us/uefn/subclass-in-verse https://dev.epicgames.com/documentation/en-us/uefn/subclass-...
Epic is a very successful software company, they're familiar with FP/Haskell, and their new language has classes with inheritance. There is no evidence here of any shift away from the concept, let alone Unreal being legacy! Apple is the same. Swift deviates from other languages in many ways, but it has inheritance:
https://docs.swift.org/swift-book/documentation/the-swift-programming-language/inheritance/ https://docs.swift.org/swift-book/documentation/the-swift-pr...
Jetbrains also designed a new language in the past decade, and it has inheritance. Nobody objected (pun intended) and people use it successfully.
So I think that kind of reinforces my point that the dislike of OOP and inheritance is largely restricted to the HN bubble.