Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

what about...

    area = manager
           .getUser()
           .getPhone(PhoneType.mobile)
           .getAreaCode();
I see this form a lot in Java and Kotlin code, especially in Kotlin where a single function is just assigned to a chain of functions like the one above.


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

Search: