Hacker News new | past | comments | ask | show | jobs | submit login

I've taken to trying to make the ! stand out more:

  if( ! llama) {
          ...
      }
I don't know that it's an improvement, and my personal jury is still out, but I currently hold that it's better than the risk of the single equals bug that another reply points out, or the Yoda conditional that is the suggested replacement.



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

Search: