3 ms·
>If Customer is a class, it's pretty difficult to doThingToCustomer() that the Customer itself doesn't allow. That applies just as much to functional programmi
by papsosouid 14y ago
>If Customer is a class, it's pretty difficult to doThingToCustomer() that the Customer itself doesn't allow.
That applies just as much to functional programming as it does to object oriented programming. If you don't want people to mess with the internals, then don't export them.