News for hackers. Stuff that matters.
Re:Case against OOP is understated, not overstated (2020) by dwohnitmok on Thursday February 10, 2022 @09:32PM (#30296127)
> to the example of a web browser I would say, most applications are not web browsers.

I should've clarified. I meant developing a web page to run on a web browser, hence the form example.

Re:Case against OOP is understated, not overstated (2020) by jolux on Thursday February 10, 2022 @10:19PM (#30296457)
It’s a good point. UI is a situation where the classic OOP-style frameworks work really well when they’re carefully designed. I think we’re still waiting on a model for doing that with FP that doesn’t rely on passing state deep down into an expression tree like React and its descendants encourage you to do. There’s stuff like Redux but it has its own problems.