3 ms·
A DB has a lot more obvious and strict context than a file of source code, and the law of demeter typically doesn't affect DB contexts as much as it does code,
by hellofunk 10y ago
A DB has a lot more obvious and strict context than a file of source code, and the law of demeter typically doesn't affect DB contexts as much as it does code, in practice.
In real code, it's unwise to expect the reader to study context just to parse a name.
- jstimpfle 10y agoAre you agreeing with me here? I think so but can't tell for sure...
- hellofunk 10y agoI'm saying that a DB's organization is not the same as that of source code, and that surrounding context is a fundamental part of working with a DB and reading its layout, so perhaps the naming rules can be relaxed a bit in some cases.