3 ms·
Not true for react, swiftui, jetback compose, etc. Everything else was built in the 90s or early 00s which was peak OOP
by jdmoreira 1y ago
Not true for react, swiftui, jetback compose, etc.
Everything else was built in the 90s or early 00s which was peak OOP
- pjmlp 1y agoJavascript is a protoype based OOP language, and the DOM that any Web UI depends on is OOP. All commercial browsers are written in a mix of JavaScript OOP and C++, nowadays they might have some tiny percentage of Rust, which might be using traits and dynamic dispatch anyway. Kotlin runs on top of a OOP based VM, and uses a OOP class library. Compose has plenty of classes on its implementation and Android Studio interop. SwiftUI infrastructure relies on OOP code written in Objective-C and macOS frameworks. People are usually so eager to bash OOP that they overlook the details.
- jdmoreira 1y agoSo? Is OOP widespread? Yes of course it is. Besides that what is really the point you are making? That you can write software using Smalltalk or CLOS or any of their bastard offspring? Yes, you can and people did and still do. So what?
- pjmlp 1y agoThe point was all your examples are flawed and there is no mainstream UI that doesn't have OOP concepts powering their execution, either via the programming language, the standard library, or OS APIs being used across the stack.