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

(Spoiler) This is another reason why you should never use if statements without curly braces.

Thanks for the hint. It was amusing to spot the actual bug.



I partially agree. Curly braces won't fix a typo or a rushed code review.




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

Search: