Hacker News new | ask | show | jobs
by coldtea 4669 days ago
Yes. After all that's the best style in C and other brace languages too.

This way you can't go wrong adding another statement inside the if.