I sometimes write code that needs to parse user given arguments, for example through settings in configuration files, parameters given on the command line et. c. The usual way I've dealt with them is to simply perform a bunch of string compares in a...
[ Read full article ]