2 ms·
That seems to me like asking whether you should buy a car or a toaster - it depends and most likely you want both. Pure object oriented programming tries to fo
by danbruc 11y ago
That seems to me like asking whether you should buy a car or a toaster - it depends and most likely you want both.
Pure object oriented programming tries to force the object metaphor onto every problem disregarding whether it actually fits naturally. Pure functional programming pretends that there is no state which is as wrong as everything is an object.
In my opinion the really sensible thing to do is to be aware of all the available options and choose the right one for the problem at hand.