this post was submitted on 03 Nov 2025
119 points (96.9% liked)
Programming
23403 readers
157 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Yep, streams, pipes and files are all good examples of things that are an entity with associated operations.
Those are very powerful abstractions for sure, but did you notice how far their implementation is from standard Java OOP?
That's because polymorphism at a macro-level is a functional concern, not something programmers speak in conferences about.
One of my biggest gripe with Y2K-style OOP is that its proponents make lots of promises that don't track in practice when you measure the outcomes. One such promise is that writing rigid class hierarchies lead to the potent abstractions you describe.