Re:Multi-Paradigm Languages
by dragonwriter on Monday November 23, 2020 @04:23PM
(#25192101)
> With Java I've seen an increasing problem with programming style in large projects because of it's kitchen sink support of so many paradigms.
Java is pretty much the purest classic class-based OOP language of all industrially-significant languages. It has constructs inspired by those from other paradigms, especially FP, transposed into a class-based OOP context, but it's pretty much the last language I’d point it as suffering (or benefiting) from “support of so many paradigms”.
It’s pretty easy to go full procedural with static where classes function only as a name space. Also, I’ve worked in code bases that were a Frankenstein mixture of deeply nested inheritance hierarchies mixed with attempts to be fully functional mixed with C code written in Java. So I stand by my statement.
In addition to code readability it also effects code reviews because many cases come done to taste and it's difficult to build any type of consensus.