195
OOP theory vs practice
(lemmy.ml)
Post funny things about programming here! (Or just rant about your favourite programming language.)
The. real question is whether this problem needs to be modelled using classes in the first place. The alternative is to just have a set of composable functions that take a piece of data and return a modified version that can be passed to a different function.