Y
Hacker News
new
|
ask
|
show
|
jobs
by
JBReefer
3748 days ago
In general you should follow Demeter's law and not expose types behind value types if you can avoid it.
1 comments
Koshkin
3747 days ago
Regarding this 'law', Wikipedia put it quite nicely, saying quote, it is more suited as a metric for code smell as opposed to a methodology for building loosely coupled systems.
link