Y
Hacker News
new
|
ask
|
show
|
jobs
by
neonroku
793 days ago
Depends on how you use it, but in Java I prefer to use interfaces and no subclassing. I find classes with abstract methods hard to reason about, and much prefer to leverage Functions/lambdas where possible.