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

I can't decide because in this pattern you ignore once and check once and I like the lint for the check. Ideally the linter could recognize this pattern. Even better would be if the linter could catch when you never close, I've made that mistake a few times.


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

Search: