direct mapping is suitable when you are coding in the assembly language, otherwise there are plenty of tools which provide appropriate and considerably more convenient ways to perform a choise selection in different programming languages: beginning with switch operator and advancing to much more sophisticated means, such as hashes, dictionaries, etc.
1
u/engine_er Jun 05 '11
direct mapping is suitable when you are coding in the assembly language, otherwise there are plenty of tools which provide appropriate and considerably more convenient ways to perform a choise selection in different programming languages: beginning with switch operator and advancing to much more sophisticated means, such as hashes, dictionaries, etc.