Having been in OOP before FP I don't consider some...
# functional
r
Having been in OOP before FP I don't consider some of those properties interesting in terms of composition which is what programming is to me about but I understand the win here is because Kotlin is multi paradigm. Also I get your point, I was never directly referring to OOP not being also portable to langs that support it. My point was around coding adhoc when solving problems for example moving elements from a list to another or folding over lists, doing async programming, etc. I find OOP more prone to ad-hoc imperative statement based style solutions based on frameworks than in using the actual functions to get the composition and evaluation you want. In that sense I think FP is better organized and provides a cohesive solution that transcends standard libraries and frameworks.