|
|
|
|
|
by kaba0
1653 days ago
|
|
Just because it exists doesn’t mean it has to be used beyond its intended domain. One is entirely free to create flat “hierarchies” in Java. But I agree that in hindsight, final classes as a default would be better. Fortunately nowadays, records and sealed classes remedy this for the most part in java. |
|