Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on OOP vs. FP. Parent comment
'o' gives you capabilities to perform 'f'. 'o' can hide its data and only expose functions that it wishes.
With f(o), 'f' needs to be given permission to access 'o' internals.
There are no comments on this comment yet.
'o' gives you capabilities to perform 'f'. 'o' can hide its data and only expose functions that it wishes.
With f(o), 'f' needs to be given permission to access 'o' internals.