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

Ya, having 'foreach( null )' be a no-op is my #1 language feature request.

Not being a big fan of method chaining, a null saavy foreach would probably eliminate most of my null checks, need for Optional.



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

Search: