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

I actually find that the use of "!" over "not" improves readability. English words tend to all blend together and take more time to parse, whereas a nice "!" token is easy to recognize at a glance. That being said, "not" is of course more understandable for somebody who has no idea about the language; however, asking a programmer to learn a single symbol for "not" is not too much to ask :)


depends how much attention you're paying at the moment.

its easier to miss a ! than a 'not' at a quick glance


good point! all syntax highlighters should color negations in neon red




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: