News for hackers. Stuff that matters.
Re:UML: My Part in Its Downfall by zozbot234 on Tuesday October 04, 2022 @07:27AM (#33078882)
You could use a generic Vehicle<T: VehicleType>, with Vehicle<Car>, Vehicle<Truck>, Vehicle<Semi> implementing specialized interfaces.

There are no comments on this comment yet.