News for hackers. Stuff that matters.
Re:Java 21: What’s New? by heavyset_go on Thursday August 10, 2023 @04:52PM (#37081631)
> Sure, but in Java the standard handling of that is polymorphism. instanceof has been so far a bit of an antipattern, breaking out of the OOP model.

I think that's deliberate, Java is moving towards the modern programming zeitgeist that doesn't really care about strict adherence to the OOP model. This is a feature that comes from languages that don't adhere to Java's OOP principles.

I didn't downvote you, by the way. Don't know why that happened.

There are no comments on this comment yet.