3 ms·
> 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
by dragonwriter 6y ago
> 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”.
- 0x445442 6y agoIt’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.
- pjmlp 6y agoSome of those FP concepts, transposed into a class-based OOP context, like closures and algorithms over data structures, where already present in Smalltalk-80 actually.