News for hackers. Stuff that matters.
Re:Classes are a way of writing higher order functions by Zak on Wednesday September 09, 2020 @01:06PM (#24423134)
> OOP won against functional because OOP is easier to understand and leads to more maintainable code.

OOP as we know it today, which is not what the inventor of the term had in mind, likely won because it was easy to add it to C in a manner compatible with low-level optimizations that were critical in application code at the time, and less so now.

I dispute that one style is inherently easier to understand than the other, though each has certain problem domains where it maps particularly cleanly.

Re:Classes are a way of writing higher order functions by chriswarbo on Wednesday September 09, 2020 @01:36PM (#24423522)
Slightly tangential, but Single Assignment C is well suited to functional programming