News for hackers. Stuff that matters.
Re:Why OO Sucks by Joe Armstrong (2000) by bcrosby95 on Friday March 26, 2021 @03:02AM (#26589488)
> Our thinking about cars is highly abstract, as though it's an abstract class/interface with a single go_somewhere(destination) method, which fits quite well with OOP thinking.

So what you're saying is I'm going to have to downcast to a concrete class to figure out if my object is actually suitable for going to the store or my bathroom (my house isn't big enough to drive a car through).

Lines up with most OOP systems I've worked in.

Re:Why OO Sucks by Joe Armstrong (2000) by hntrader on Friday March 26, 2021 @03:21AM (#26589580)
Ideally the interface is named in a way that's self-documenting and makes it clear that it's not referring to moving around your house, no downcasting required.