Hacker News new | ask | show | jobs
by polynomial 1991 days ago
This is a great example of where OOP and FP necessarily part ways.
1 comments

That’s a cool idea, how so?
I'm sure there are far more qualified hn users than I to elaborate, but basically you wouldn't have a dependency on an mutable object. Rather, the object would have to be directly passed to a function.

Having said that, I meant it more generally in the sense of their respective architecture design paradigms than details of a particular implementation.