3 ms·
Conditionals without braces? Have we learned nothing from heartbleed?
by curlyquote 12y ago
Conditionals without braces? Have we learned nothing from heartbleed?
- arenaninja 12y agoOuch! 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
- elektronjunge 12y agoThat was the apple ssl problem. But yes conditionals are far safer with braces then without.
- arenaninja 12y agoI have noticed that more often than not, eventually my braceless conditionals turn into conditionals