The argument I see recently is that while “fruit” is a biological definition, “vegetable” is a culinary one (with no biologically-founded definition of “vegetable”).
In OO terms, you might consider Tomato a subclass of Fruit, implementing the Vegetable interface.
The argument I see recently is that while “fruit” is a biological definition, “vegetable” is a culinary one (with no biologically-founded definition of “vegetable”).
In OO terms, you might consider Tomato a subclass of Fruit, implementing the Vegetable interface.
And it turns out that “vegetable” is also a legal definition, at least in the US.