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

Oh my dear lord I didn’t think I’d actually disagree with the f’ing article but I had like 8 cases today that made me wish I had a built in if-not keyword! I mean, every language with the billion dollar mistake probably needs a language feature designed to pay back some of that.


I think the author would probably be fine with an if-not. It doesn't hide the double negation like unless.




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

Search: