Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Yeah.
Java allows all kind of *theoretical* valid OOP approaches that will *practically* make your life a nightmare.
E.g. "default" aka traits with extension is a nightmare. -
@Demolishun yes, but with interfaces, multiple inheritance is not as problematic as with classes.
And even though it’s similar to inheritance from a technical perspective, conceptually it’s more like tagging or conforming to some interface to enable capabilities like Equatable/Comparable/Hashable (or whatever they are called in Java) -
No way you've worked with Java for ten years, these kind of things are learnt (or stumbled upon) in the first WEEKS when you try to get used to the language. You just need to stop behaving like a code monkey
IM WORKING IN JAVA MY WHOLE LIFE AND A DECADE LATER I JUST FOUND OUT AN INTERFACE CAN EXTEND ANOTHER INTERFACE
rant