in reply to Re: how to deal with 20 commands
in thread how to deal with 20 commands
The worst thing about long if-elsif-else chains is their performance
You can order them by expected frequency to help keep O(n/2) low, but I think the worst thing about those chains is their low maintainability.
|
|---|