jeudi 19 mars 2015

How to refactor nested if statement


if (a or b)
if (a)
//do something
else
//do something
else
//do something


How to refactor the above nested if?


Aucun commentaire:

Enregistrer un commentaire