I would like to do something like:
dct = ['do_this', 'do_that']
dct[0]() // call do_this
But you can't call the string as a function (will get an error).
How can I achieve this without switching and without using a list of lambdas or functions?
Explicitly I want to refer the function by name.