3 ms·
I wish it had gone more into the advantages to this, over the standard method of switching on a state variable.
by smackfu 15y ago
I wish it had gone more into the advantages to this, over the standard method of switching on a state variable.
- peter_lawrey 15y agoUsing this approach could be more logical, esp as the number of methods per state increases. As you have more complex events and you want to group as State/Method rather than Method/State this approach is more appealying.