Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is not wrong, but it ignores that in terms of reliable software architectures, it’s very often still better to model change using strictly immutable data types. Often, not always.

As usual the truth is somewhere in the middle, which is why I don’t like the periodically recurring discussions why OO is bad, FP is good or vice versa. I think the article splits up the issue quite nicely, the conclusion I get from it is that the answer to the question whether to use inheritance or not is ‘it depends’.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: