Hacker News new | ask | show | jobs
by hbrn 1283 days ago
> But how is there a deviation; being an Iterable is part of being a list, not a deviation from it.

Because I'm a human, not a robot. If I can describe something with fewer words by sacrificing a little bit of accuracy, I might go for it when I don't deem that accuracy to be important.

If wife sends you to buy eggs, are you the type of person that buys caviar because "technically they're eggs"?

> coding to interfaces which impose only what is actually required is better than to unnecessarily specific concrete types

Of course. Although practicality beats purity.