This video is only for members.
You'll need to log in to view this video!
Log in or create a free accountUsing lookup tables
If you have a big switch statement, or collection of if's, check if you can refactor is to a more readable variant: the lookup table.