Re:The controller pattern is awful (and other OO heresy)
by Fire-Dragon-DoL on Sunday July 16, 2023 @03:37AM
(#36744512)
That was poorly achieved with oop and better achieved with fp though. Oop couples functionality and data (not typescript, if you don't want)
From my understanding, it is that every object has a very limited set of functionalities it manages. And that a goal is for each object to know as little as possible of the outside world. And along with that, to not bind to specific objects/classes but to bind to specific messages (Including multiple dispatch)