299
you are viewing a single comment's thread
view the rest of the comments
[-] sudo@programming.dev 2 points 6 days ago

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.

this post was submitted on 08 Jun 2026
299 points (98.7% liked)

Programmer Humor

31814 readers
560 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS