News for hackers. Stuff that matters.
Re:Case against OOP is understated, not overstated (2020) by paragraft on Thursday February 10, 2022 @06:49PM (#30294591)
React, presumably, with its approach that a UI is well described by nested functions operating on state. It's a good point. I remember long discussions on mailing lists for various FP languages conceding that UI toolkits were the one area where OOP seemed the natural fit. Haven't seen many of those discussions since React emerged.
Re:Case against OOP is understated, not overstated (2020) by FpUser on Friday February 11, 2022 @01:38AM (#30297831)
>" nested functions operating on state."

Switch it to a state with the methods and you got your object. Polymorphism here is not a requirement. It is a feature to be used when needed. Some time in the 80s I was doing exactly the same - operating on state with functions. Same shit different color.

Programmers just love going on crusades. I find it a waste of time and intolerance breeding ground. Instead of heating the air use whatever the fuck suits one. Just do not stalk other people who happen to have different preferences.

Re:Case against OOP is understated, not overstated (2020) by FpUser on Thursday February 10, 2022 @11:25PM (#30296951)
Ah that one. Sorry but in my book React is an abomination. Speed of developing decent UI in React vs for example something like ages old Delphi is incomparable. The last one wins hands down.