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

A collection is non-empty if and only if it has a first element. Therefore checking for non-emptiness is the same as checking for the existence of a first element.


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

Search: