Re:OOP Is Dead, Long Live OOP
by maxxxxx on Thursday October 18, 2018 @07:58PM
(#18253363)
There are plenty of use cases where you need internal state. Think about UI in a desktop app for example. Not everything is a data pipeline with a clear in and out.
[ Parent
| on HN ]
Considering the popularity of React/Redux, it does seem like avoiding internal, mutable state as much as possible and approaching as much of the rest as possible as a 'data pipeline' is a very valid way of dealing with UI's.