Hacker News new | past | comments | ask | show | jobs | submit login

This property is actually great for making chains of calls where any of the intermediate objects may be missing, allowing you to short circuit.

x = A().B().C().D().E().F()

for example. Very useful when dealing with big complex trees.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: