3 ms·
> I fundamentally do not like attaching methods to my structs/records/whatever, since I think that forces strong and unnecessary coupling. I see it almost exa
by AnimalMuppet 7y ago
> I fundamentally do not like attaching methods to my structs/records/whatever, since I think that forces strong and unnecessary coupling.
I see it almost exactly backwards from that. I like being able to make it so that nobody other than a select set of functions can modify my structs/records/whatever. To me that prevents unnecessary coupling.