2 ms·
I read this thread through, and I think you both make some good points. I think (i.e. just my opinion) you are talking past each other. There are situations wh
by lelanthran 3y ago
I read this thread through, and I think you both make some good points.
I think (i.e. just my opinion) you are talking past each other. There are situations where I'd prefer @trashburger's approach (instances that react to stimuli) and situations where I'd prefer your approach (functions that capture the effect of applying stimuli on simple data structures).
I don't think it is as clear or as cut-and-dried as either of you are making it out to be.
A certain amount of discretion and restraint is required to prevent an OO architecture that is unreadable and tangled spaghetti, as well as a certain amount of discretion and restraint being required to prevent a functional architecture devolving into an equally unreadable mess.
If the primary goal is neither readability nor maintainability, then all of this arguing is moot.