20 Tips for becoming a better programmer
1. There should be only one single exit point to each method (use if-else whenever needed). 2. When using if-else, make sure to place the shorter code snippet in the if: if (cond) { } else { ……
Just Another Programmer