3 ms·
Exactly, the law of Demeter is about coupling... not state corruption and immutability. https://en.wikipedia.org/wiki/Law_of_Demeter https://en.wikipedia.org/w
by TickleSteve 10y ago
Exactly, the law of Demeter is about coupling... not state corruption and immutability.
https://en.wikipedia.org/wiki/Law_of_Demeter https://en.wikipedia.org/wiki/Law_of_Demeter
Whether those are mutable or immutable is irrelevant to the LoD.