News for hackers. Stuff that matters.
Re:The Case Against OOP Is Wildly Overstated by Kapura on Friday July 31, 2020 @10:41AM (#24009014)
I program video games; I would consider running a real-time simulation as a "state-rich" problem domain. And the constraints of running real-time simulations mean that some implementations are not acceptable. Things are not generally allowed to be slow if they can be done in a way that is fast.

Because of this, many game engines are built in a way that allows high throughput for processing the state of hundreds, perhaps thousands of entities in the world. Our guiding paradigm could be described as an entity-component system; another word used to describe it has been "data-oriented design." Here's a talk about it by the guy who was our engine director at the time[0]. It is not object oriented, and it seeks to unshackle itself from many of the issues with OOP as a guiding principal.

[0] https://www.youtube.com/watch?v=rX0ItVEVjHc

Re:The Case Against OOP Is Wildly Overstated by garethrowlands on Friday July 31, 2020 @11:00AM (#24009262)
Absolutely. And the kinds of data structures you get in an entity-component system are probably easier and more natural to use in a language such as Haskell than a typical OOP object-graph-of-mutating-objects would be. Not that anyone's programming their ECS in Haskell.