|
|
|
|
|
by T-hawk
4153 days ago
|
|
If you're accessing objects that deeply, something is breaking the Law of Demeter about locality of reference and looseness of coupling. It's a syntactic convenience, but it leads to questionable patterns. Do you really want to silently collapse the hierarchy of whatever was null? I'd rather identify it and fail with a specific message or behavior rather than generically. |
|