For loops: Reverse if-statements or continue checks?
I am trying to find the most efficient way to loop through for loops Say I want to loop through something and check if it's null, should I then use if(object == null) { continue } or should I use if(object != null) { // code }
Aucun commentaire:
Enregistrer un commentaire