Functional programming and oop aren't necessarily antithetical to one another. There's no reason your functions can't return objects that are instances of classes with their own methods. You just can't mutate, but that doesn't mean you can't use OOP.
Functional programming and oop aren't necessarily antithetical to one another. There's no reason your functions can't return objects that are instances of classes with their own methods. You just can't mutate, but that doesn't mean you can't use OOP.
deleted by creator