For example, instead of casting, you could have `F...
# getting-started
c
For example, instead of casting, you could have
Fruit.discountToPrice(price)
and override this in subclasses where it makes sense