Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
JBReefer
· 10y ago · 0 comments
In general you should follow Demeter's law and not expose types behind value types if you can avoid it.
Comments
[–]
Koshkin
10y 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.