Is there a system of solving nested ifs?
The way I'm doing it right now is:
- list all the conditions and factors
- list all the possible outcomes
- eliminate similar cases
- try grouping the cases in order to reduce nested ifs, which is a big pain.
I'm sure that there is a way to make steps 2 and 4 easier(or to eliminate them altogether
Aucun commentaire:
Enregistrer un commentaire