all 4 comments

[–]AmericanMuskrat 2 insightful - 3 fun2 insightful - 2 fun3 insightful - 3 fun -  (0 children)

When we sent men to the moon we didn't have any goddamned OOP.

[–]d3rr 2 insightful - 2 fun2 insightful - 1 fun3 insightful - 2 fun -  (0 children)

I could do everything with AbstractSingletonProxyFactoryBean

lol

[–][deleted] 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 1 fun -  (1 child)

Functions are object. Data is stored as objects too. The inheritance madness may had gone a bit too far, but there should be better ways to fix it than a new religion.

[–]enefi[S] 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 1 fun -  (0 children)

I personally happen to like pure FP (much more composable, testable and reusable compared to OOP in my opinion). But yeah, there are other ways. I was recently reading about Scala 3 and there was a bunch of new interesting things I quite missed few years back when I was writing in Scala, e.g. export clauses and context functions.