4 ms·
LOL. Who said anything about an underground gas tank, pricing, or a display? If you're adding pricing, you have to add a payment system. It'd be out of plac
by hasbot 10y ago
LOL. Who said anything about an underground gas tank, pricing, or a display? If you're adding pricing, you have to add a payment system. It'd be out of place for a Vehicle to know anything about paying a bill. Objects just model reality; they don't have to mirror reality.
- jimmaswell 10y agoIt's just a demonstration of how the hierarchy works in the abstract. And it's just displaying the price on the meter, not saying the "car" has to deal with that. The driver would, or the player, if you look at this like game code, which would make sense.
- hasbot 10y agoDude, it was just an example for a style discussion. You're missing the point of the discussion and way over-engineering the example.
- jimmaswell 10y agoI'm just saying I don't think the "There is no right answer" statement works here because there seems to be one right answer to me.
- deleted 10y ago[deleted]
- hasbot 10y agoIt's weird how inexperienced people are the most rigid and dogmatic. Experienced people know that there are always multiple ways of doing everything.
- jimmaswell 10y agoIf you have to resort to implying lack of experience is the only reason someone wouldn't like your example, that doesn't reflect well.