News for hackers. Stuff that matters.
Re:Classes are a way of writing higher order functions by narwally on Wednesday September 09, 2020 @01:09PM (#24423165)
I'd say OOP 'won' because Java offered garbage collection and a C style syntax. The fact that it was also OOP was incidental.
Re:Classes are a way of writing higher order functions by munificent on Wednesday September 09, 2020 @01:31PM (#24423464)
OOP first boomed with C++ before Java came around, and Java got GC from function languages.

If GC was the distinguishing factor, OOP would have never gotten off the ground.

Re:Classes are a way of writing higher order functions by pjmlp on Wednesday September 09, 2020 @01:46PM (#24423648)
Having been there when it all took off, it always feels so wrong to read "C++ code written Java style", when it was C++ that actually created that style.
Re:Classes are a way of writing higher order functions by euiq on Wednesday September 09, 2020 @01:15PM (#24423244)
Right—garbage collection makes most software engineering significantly easier.