Hacker News new | ask | show | jobs
by kaba0 765 days ago
To be honest, that over-architecture everything stuff came from even earlier with C++, that many people forget.

Java was just a valid target to many programs that were previously written in C++, and some of that mindset stuck.

I would argue though, that today’s java is not excessively OOP, and can be written in an elegant hybrid of OOP and FP, whichever suits the given subproblem best. (It literally has algebraic datatypes and pattern matching now).

1 comments

Not really, if you compare the STL with the java standard library, the STL is much more category-theory / traits-oriented, and has a lot of "free" functions, where the java standard library is OOP madness.