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

No, you don't need the the second argument since the for loop just won't execute at all if the list length is zero.


Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: