Y
Hacker News
new
|
ask
|
show
|
jobs
by
curlyquote
4306 days ago
Conditionals without braces? Have we learned nothing from heartbleed?
1 comments
arenaninja
4306 days ago
Ouch! Of course I know of Heartbleed, but I didn't stick around for the postmortem... Was that really what caused it? I use conditionals without braces for one-liners frequently, and this one comment is making me reconsider
link
elektronjunge
4306 days ago
That was the apple ssl problem. But yes conditionals are far safer with braces then without.
link
arenaninja
4306 days ago
I
have
noticed that more often than not, eventually my braceless conditionals turn into conditionals
link