if/else block default coding style question