Re:Joe Armstrong: Why OO Sucks
by IsTom on Sunday July 15, 2012 @05:00AM
(#4246557)
With the FP approach you can just write "show book as a widget" function yourself, without the whole inheritance hodge-podge. In case of real libraries the change of data structure probably won't be a problem as author would probably supply a function Book -> (Title, Chapters, Sentences, Strings) which would be guaranteed not to change and discourage the use of actual constructors.
[ Parent
| on HN ]
There are no comments on this comment yet.