Elektrine lite

← Feed

@sudo@programming.dev

Post #3206935

2026-06-09 00:31 UTC

some problems are better solved via OOP, others through functional programming. The perfect language would be a successful blend of the two. That was the entire goal of Scala and I would say Scala both accomplished it and is a worse language for doing so. Some OOP principles are just bad, namely subtyping. Rust genuinely does blend OOP and Functional in a better way. Instead of classes and interfaces with lambdas you have algebraic data types and type classes with for loops.

Replies (0)

No replies.