Why isn't mutable a subtype of immutable, or vice versa?
Thread
Unofficial Hacker News client; not affiliated with Y Combinator.
Why isn't mutable a subtype of immutable, or vice versa?
Unofficial Hacker News client; not affiliated with Y Combinator.
Sharlin · · focus · HN ↗
MiroslavPokorny · · focus · HN ↗
kaoD · · focus · HN ↗
Computers used to have very little memory and processing power, and screens had very low pixel density so line width was not that big. Then you have to deal with the baggage 50 years later.
Modern Lisps have the luxury so they use head/tail or first/rest.