Re:Replace CoffeeScript with ES6
by T-hawk on Friday January 30, 2015 @06:04PM
(#8975075)
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.
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.