Hacker News new | ask | show | jobs
by chaitanya 4502 days ago
(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.

1 comments

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