Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
chaitanya
· 12y ago · 0 comments
(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.
Comments
[–]
spoint
12y ago
I partially agree. Curly braces won't fix a typo or a rushed code review.