News for hackers. Stuff that matters.
Re:Replace CoffeeScript with ES6 by o_____________o on Friday January 30, 2015 @12:02PM (#8972932)
> The existential operator `?` soaks up null/undefined references.

This seemingly minor feature is so huge for me. Accessing deep objects?.is?.a?.horrible?.pain?.sometimes?()

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.