Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
JBReefer
10y ago
0 comments
Save
Share
In general you should follow Demeter's law and not expose types behind value types if you can avoid it.
0 comments
1 comments · 1 top-level
top
newest
oldest
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.
j
/
k
navigate · click thread line to collapse