Hacker News new | ask | show | jobs
by ori_b 2682 days ago
Sure, but it'll also catch things like

   if (a)
       b;
       c;
So, the brace style really doesn't matter when it comes to tools catching mistakes. If you turn on the warnings and linters, they'll catch all the common bracing errors. If you don't, most of the suggestions here don't really help much.