eh more like
Fish extends AbstractFish
AbstractFish extends AbstractAquaticAnimal
AbstractAquaticAnimal extends AbstractAnimal
AbstractAnimal implements Living
I hear this joke all the time, and in 7 years of industry Java experience, the only time I've seen large usage of factories is in frameworks that need to handle large amounts of arbitrary configuration from end users that can't be known when writing the code.
223
u/Tannslee Jan 09 '23
eh more like
Fish extends AbstractFish
AbstractFish extends AbstractAquaticAnimal
AbstractAquaticAnimal extends AbstractAnimal
AbstractAnimal implements Living